Skip to content

Commit

Permalink
Update update.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Denellyne committed Feb 26, 2024
1 parent a818224 commit 0095e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Updater/update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void autoUpdater() {

if (MessageBox(NULL, L"A new update was found do you wish to update?", L"New Update", MB_YESNO | MB_TASKMODAL) == IDNO) return;

ShellExecute(0, 0, L"https://github.com/Denellyne/PCXSense/releases/tag/Latest", 0, 0, SW_SHOW);
ShellExecute(0, 0, L"https://github.com/Denellyne/PCXSense/releases/Latest", 0, 0, SW_SHOW);
_exit(NULL);
}
#endif // _DEBUG

0 comments on commit 0095e3d

Please sign in to comment.