Skip to content

Commit

Permalink
Fix final step of Windows auto-update (#6117)
Browse files Browse the repository at this point in the history
Add missing arg for inno_updater to replace existing install with updated one
  • Loading branch information
timtmok authored Jan 28, 2025
1 parent ff251d5 commit 6ca1e8c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/win32/positron.iss
Original file line number Diff line number Diff line change
Expand Up @@ -1519,7 +1519,8 @@ begin
StopTunnelServiceIfNeeded();
Exec(ExpandConstant('{app}\tools\inno_updater.exe'), ExpandConstant('"{app}\{#ExeBasename}.exe" ' + BoolToStr(LockFileExists())), '', SW_SHOW, ewWaitUntilTerminated, UpdateResultCode);
// inno_updater requires 3 arguments (exe of current installation, lock file status, and a string for the log)
Exec(ExpandConstant('{app}\tools\inno_updater.exe'), ExpandConstant('"{app}\{#ExeBasename}.exe" ' + BoolToStr(LockFileExists()) + ' "Updating Positron..."'), '', SW_SHOW, ewWaitUntilTerminated, UpdateResultCode);
end;
if ShouldRestartTunnelService then
Expand Down

0 comments on commit 6ca1e8c

Please sign in to comment.