v1.8.82: fix update apply — os.startfile(vbs) + os._exit(0)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -292,11 +292,9 @@ del "%~f0"
|
|||||||
with open(vbs_path, "w") as f:
|
with open(vbs_path, "w") as f:
|
||||||
f.write(vbs_content)
|
f.write(vbs_content)
|
||||||
|
|
||||||
# Launch VBS detached — no visible window at all
|
# Launch VBS via os.startfile — most reliable on Windows,
|
||||||
subprocess.Popen(
|
# works from frozen exe without PATH issues
|
||||||
["wscript", vbs_path],
|
os.startfile(vbs_path)
|
||||||
creationflags=subprocess.DETACHED_PROCESS | subprocess.CREATE_NEW_PROCESS_GROUP,
|
|
||||||
)
|
|
||||||
return True
|
return True
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
BIN
releases/ServerManager-v1.8.82-win-x64.exe
Normal file
BIN
releases/ServerManager-v1.8.82-win-x64.exe
Normal file
Binary file not shown.
@@ -1,6 +1,6 @@
|
|||||||
"""Version info for ServerManager."""
|
"""Version info for ServerManager."""
|
||||||
|
|
||||||
__version__ = "1.8.81"
|
__version__ = "1.8.82"
|
||||||
__app_name__ = "ServerManager"
|
__app_name__ = "ServerManager"
|
||||||
__author__ = "aibot777"
|
__author__ = "aibot777"
|
||||||
__description__ = "Desktop GUI for managing remote servers"
|
__description__ = "Desktop GUI for managing remote servers"
|
||||||
|
|||||||
Reference in New Issue
Block a user