Skip to content

Commit 312ab27

Browse files
author
zak-45
committedMar 11, 2025
fix init debug
1 parent c3c1975 commit 312ab27

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
 

‎WLEDVideoSync.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
5454
Nuitka Compilation Support:
5555
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.
5757
This improves performance and distribution.
5858
5959
Temporary File Handling:
@@ -145,19 +145,19 @@ def linux_settings():
145145
# chmod +x info window
146146
cmd_str = f'chmod +x {cfg_mgr.app_root_path("xtra/info_window")}'
147147
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}')
149149

150150
# change folder icon
151151
cmd_str = f'gio set -t string \
152152
"WLEDVideoSync" metadata::custom-icon file://{cfg_mgr.app_root_path("assets/custom_folder.png")}'
153153
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}')
155155

156156
# change app icon
157157
cmd_str = f'gio set -t string \
158158
"WLEDVideoSync_x86_64.bin" metadata::custom-icon file://{cfg_mgr.app_root_path("favicon.png")}'
159159
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}')
161161

162162
def init_darwin():
163163
"""Initialize settings for Darwin (macOS) platform.
@@ -178,7 +178,7 @@ def init_darwin():
178178
# chmod +x info window
179179
cmd_str = f'chmod +x {cfg_mgr.app_root_path("xtra/info_window")}'
180180
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}')
182182

183183
# common all OS
184184
init_common()

0 commit comments

Comments
 (0)
Please sign in to comment.