Skip to content

Commit da9d378

Browse files
committed
Fix auto-upgrade to windowed mode with legacy installer.
1 parent 8041d6f commit da9d378

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/manage/scriptutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ def _find_shebang_command(cmd, full_cmd, *, windowed=None):
9090
return cmd.get_install_to_run(f"PythonCore/{tag}", windowed=True)
9191
if sh_cmd.match("python*.exe"):
9292
tag = sh_cmd.name[6:-4]
93-
return cmd.get_install_to_run(f"PythonCore/{tag}")
93+
return cmd.get_install_to_run(f"PythonCore/{tag}", windowed=windowed)
9494

9595
raise LookupError
9696

0 commit comments

Comments
 (0)