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:
|
||||
f.write(vbs_content)
|
||||
|
||||
# Launch VBS detached — no visible window at all
|
||||
subprocess.Popen(
|
||||
["wscript", vbs_path],
|
||||
creationflags=subprocess.DETACHED_PROCESS | subprocess.CREATE_NEW_PROCESS_GROUP,
|
||||
)
|
||||
# Launch VBS via os.startfile — most reliable on Windows,
|
||||
# works from frozen exe without PATH issues
|
||||
os.startfile(vbs_path)
|
||||
return True
|
||||
|
||||
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__ = "1.8.81"
|
||||
__version__ = "1.8.82"
|
||||
__app_name__ = "ServerManager"
|
||||
__author__ = "aibot777"
|
||||
__description__ = "Desktop GUI for managing remote servers"
|
||||
|
||||
Reference in New Issue
Block a user