Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit ef6baa2

Browse files
authored
Try to fix the update looping. (#74)
Will cause an error from the ZipExtractor when running
1 parent b9b0405 commit ef6baa2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

PenumbraModForwarder.UI/Services/UpdateService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ public UpdateService(ILogger<UpdateService> logger)
1414
_logger = logger;
1515

1616
AutoUpdater.ApplicationExitEvent += OnApplicationExit;
17-
AutoUpdater.DownloadPath = Application.StartupPath;
17+
// AutoUpdater.DownloadPath = Application.StartupPath;
1818
AutoUpdater.Synchronous = true;
1919
AutoUpdater.Mandatory = true;
2020
AutoUpdater.UpdateMode = Mode.ForcedDownload;
21+
AutoUpdater.ClearAppDirectory = true;
2122

2223
AutoUpdater.InstalledVersion = GetInstalledVersion();
2324
}

0 commit comments

Comments
 (0)