2dust
2024-10-15 09:31:30 +08:00
parent 24afe8bde4
commit fd7cf164ff
12 changed files with 58 additions and 19 deletions

View File

@@ -235,6 +235,11 @@ namespace ServiceLib.ViewModels
{
return;
}
if (!Utils.UpgradeAppExists(out _))
{
UpdateView(_v2rayN, ResUI.UpgradeAppNotExistTip);
return;
}
Locator.Current.GetService<MainWindowViewModel>()?.UpgradeApp(fileName);
}
catch (Exception ex)