mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Fix:executable_path maybe None
This commit is contained in:
parent
186c78eae9
commit
dd632b8aaa
@ -300,6 +300,7 @@ class AlasManager(DeployConfig):
|
||||
process_name = p.Properties_("Name").Value
|
||||
process_id = p.Properties_["ProcessID"].Value
|
||||
|
||||
if executable_path is not None:
|
||||
if process_name == name and process_id != self.self_pid:
|
||||
executable_path = executable_path.replace(r'\\', '/').replace('\\', '/')
|
||||
for folder in self.alas_folder:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user