mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Misc
This commit is contained in:
parent
340a151302
commit
7dd9b3fa0c
2 changed files with 10 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Net;
|
||||
using System.Windows;
|
||||
using Squirrel;
|
||||
using Wox.Core.Plugin;
|
||||
|
|
@ -62,12 +63,16 @@ namespace Wox
|
|||
await Updater.UpdateApp();
|
||||
}
|
||||
}
|
||||
catch (WebException ex)
|
||||
{
|
||||
Log.Error(ex);
|
||||
}
|
||||
catch (Exception exception)
|
||||
{
|
||||
const string info = "Update.exe not found, not a Squirrel-installed app?";
|
||||
if (exception.Message == info)
|
||||
{
|
||||
Log.Warn("info");
|
||||
Log.Warn(info);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
|
|
@ -878,6 +878,10 @@ namespace Wox
|
|||
await updater.UpdateApp();
|
||||
}
|
||||
}
|
||||
catch (WebException ex)
|
||||
{
|
||||
Log.Error(ex);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Log.Error(ex);
|
||||
|
|
|
|||
Loading…
Reference in a new issue