mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Do not restart on failure
This commit is contained in:
parent
c6c7ff882e
commit
6044f87e80
1 changed files with 3 additions and 0 deletions
|
|
@ -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; // don’t 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; // don’t 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; // don’t restart on failure
|
||||
}
|
||||
|
||||
if (Settings.AutoRestartAfterChanging)
|
||||
|
|
|
|||
Loading…
Reference in a new issue