Do not restart on failure

This commit is contained in:
Jack251970 2025-05-22 17:41:13 +08:00
parent c6c7ff882e
commit 6044f87e80

View file

@ -142,6 +142,7 @@ namespace Flow.Launcher.ViewModel
{
App.API.LogException(ClassName, "Failed to install plugin", e);
App.API.ShowMsgError(App.API.GetTranslation("ErrorInstallingPlugin"));
return; // dont restart on failure
}
if (Settings.AutoRestartAfterChanging)
@ -181,6 +182,7 @@ namespace Flow.Launcher.ViewModel
{
App.API.LogException(ClassName, "Failed to uninstall plugin", e);
App.API.ShowMsgError(App.API.GetTranslation("ErrorUninstallingPlugin"));
return; // dont restart on failure
}
if (Settings.AutoRestartAfterChanging)
@ -238,6 +240,7 @@ namespace Flow.Launcher.ViewModel
{
App.API.LogException(ClassName, "Failed to update plugin", e);
App.API.ShowMsgError(App.API.GetTranslation("ErrorUpdatingPlugin"));
return; // dont restart on failure
}
if (Settings.AutoRestartAfterChanging)