Skip to content

Commit 8e2eec0

Browse files
author
tryiou
committed
fix: MacOS failed to detect running processes, processes_check function
1 parent d8e2684 commit 8e2eec0

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

utilities/conf_data.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@
7272
"Windows": "XLite.exe",
7373
"Linux": "xlite",
7474
"Darwin": ["XLite.app", "Contents", "MacOS", "XLite"]
75-
# ["BLOCK-DX-1.9.5-mac", "BLOCK DX.app", "Contents", "MacOS"] # List of folders for Darwin
7675
}
7776
xlite_daemon_bin_name = {
7877
("Linux", "x86_64"): "xlite-daemon-linux64",

utilities/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ def processes_check():
150150
break # Process matched, no need to check other types
151151

152152
return (
153-
process_lists[global_variables.blocknet_bin],
154-
process_lists[global_variables.blockdx_bin],
155-
process_lists[global_variables.xlite_bin],
156-
process_lists[global_variables.xlite_daemon_bin]
153+
process_lists[blocknet_bin],
154+
process_lists[blockdx_bin],
155+
process_lists[xlite_bin],
156+
process_lists[xlite_daemon_bin]
157157
)
158158

159159

0 commit comments

Comments
 (0)