From 23f24896801eeae5072f592db59136a1c57183be Mon Sep 17 00:00:00 2001 From: Jack251970 <1160210343@qq.com> Date: Tue, 3 Jun 2025 17:22:26 +0800 Subject: [PATCH] Force admin restart and fix build issue --- .../SettingPages/ViewModels/SettingsPaneGeneralViewModel.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher/SettingPages/ViewModels/SettingsPaneGeneralViewModel.cs b/Flow.Launcher/SettingPages/ViewModels/SettingsPaneGeneralViewModel.cs index e7c7333c2..05cb20b30 100644 --- a/Flow.Launcher/SettingPages/ViewModels/SettingsPaneGeneralViewModel.cs +++ b/Flow.Launcher/SettingPages/ViewModels/SettingsPaneGeneralViewModel.cs @@ -167,7 +167,7 @@ public partial class SettingsPaneGeneralViewModel : BaseModel await ImageLoader.WaitSaveAsync(); // Restart the app as administrator - App.RestartAppAsAdministrator(); + App.RestartApp(true); } } }