Add ability to wait for a specific process (instead of the current one)

This commit is contained in:
Caelan Sayler
2025-02-02 19:44:38 +00:00
committed by Caelan
parent c8688ebefb
commit c596e0e986
10 changed files with 177 additions and 66 deletions

View File

@@ -188,7 +188,7 @@ LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
MessageBoxCentered(hWnd, L"Download an update first.", szTitle, MB_OK);
}
else {
manager->WaitExitThenApplyUpdate(updInfo.value());
manager->WaitExitThenApplyUpdates(updInfo.value());
exit(0);
}
}