53
53
54
54
Nuitka Compilation Support:
55
55
The file includes several comments related to Nuitka compilation,
56
- indicating that the project is designed to be compiled into a standalone executable.
56
+ This project is designed to be compiled into a standalone executable.
57
57
This improves performance and distribution.
58
58
59
59
Temporary File Handling:
@@ -145,19 +145,19 @@ def linux_settings():
145
145
# chmod +x info window
146
146
cmd_str = f'chmod +x { cfg_mgr .app_root_path ("xtra/info_window" )} '
147
147
proc1 = Popen ([cmd_str ], shell = True , stdin = None , stdout = None , stderr = None )
148
- cfg_mgr . logger . debug (f'info_window : { proc1 .pid } ' )
148
+ print (f'info_window : { proc1 .pid } ' )
149
149
150
150
# change folder icon
151
151
cmd_str = f'gio set -t string \
152
152
"WLEDVideoSync" metadata::custom-icon file://{ cfg_mgr .app_root_path ("assets/custom_folder.png" )} '
153
153
proc2 = Popen ([cmd_str ], shell = True , stdin = None , stdout = None , stderr = None )
154
- cfg_mgr . logger . debug (f'mac_folder : { proc2 .pid } ' )
154
+ print (f'mac_folder : { proc2 .pid } ' )
155
155
156
156
# change app icon
157
157
cmd_str = f'gio set -t string \
158
158
"WLEDVideoSync_x86_64.bin" metadata::custom-icon file://{ cfg_mgr .app_root_path ("favicon.png" )} '
159
159
proc3 = Popen ([cmd_str ], shell = True , stdin = None , stdout = None , stderr = None )
160
- cfg_mgr . logger . debug (f'favicon : { proc3 .pid } ' )
160
+ print (f'favicon : { proc3 .pid } ' )
161
161
162
162
def init_darwin ():
163
163
"""Initialize settings for Darwin (macOS) platform.
@@ -178,7 +178,7 @@ def init_darwin():
178
178
# chmod +x info window
179
179
cmd_str = f'chmod +x { cfg_mgr .app_root_path ("xtra/info_window" )} '
180
180
proc = Popen ([cmd_str ], shell = True , stdin = None , stdout = None , stderr = None )
181
- cfg_mgr . logger . debug (f'info_window : { proc .pid } ' )
181
+ print (f'info_window : { proc .pid } ' )
182
182
183
183
# common all OS
184
184
init_common ()
0 commit comments