We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4da4d8b commit dd26ecbCopy full SHA for dd26ecb
src/UI/ViewModels/SettingsViewModel.cs
@@ -113,7 +113,13 @@ private void CheckUpdates()
113
114
try
115
{
116
- var url = _deploymentService.IsRunningAsInstalled() ? _updaterConfig.UpdateUrlInstaller : _updaterConfig.UpdateUrlSingle;
+ var isStandalone = !_deploymentService.IsRunningAsInstalled();
117
+
118
+ var url = isStandalone ? _updaterConfig.UpdateUrlInstaller : _updaterConfig.UpdateUrlSingle;
119
+ if (isStandalone)
120
+ {
121
+ AutoUpdater.OpenDownloadPage = true;
122
+ }
123
AutoUpdater.CheckForUpdateEvent += AutoUpdaterOnCheckForUpdateEvent;
124
AutoUpdater.Start(url);
125
}
0 commit comments