Skip to content

Commit b0fefdc

Browse files
committed
Prevent update-on-close when the update check was manual (fix #3602)
1 parent e0c1035 commit b0fefdc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/UniGetUI/AutoUpdater.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ private static async Task<bool> PrepairToLaunchInstaller(string installerLocatio
264264
{
265265
Logger.Debug("Waiting for mainWindow to be closed or for user to trigger the update from the notification...");
266266
while (
267-
!ReleaseLockForAutoupdate_Window &&
267+
!(ReleaseLockForAutoupdate_Window && !ManualCheck) &&
268268
!ReleaseLockForAutoupdate_Notification &&
269269
!ReleaseLockForAutoupdate_UpdateBanner)
270270
{

0 commit comments

Comments
 (0)