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;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
|
using System.Net;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using Squirrel;
|
using Squirrel;
|
||||||
using Wox.Core.Plugin;
|
using Wox.Core.Plugin;
|
||||||
|
|
@ -62,12 +63,16 @@ namespace Wox
|
||||||
await Updater.UpdateApp();
|
await Updater.UpdateApp();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (WebException ex)
|
||||||
|
{
|
||||||
|
Log.Error(ex);
|
||||||
|
}
|
||||||
catch (Exception exception)
|
catch (Exception exception)
|
||||||
{
|
{
|
||||||
const string info = "Update.exe not found, not a Squirrel-installed app?";
|
const string info = "Update.exe not found, not a Squirrel-installed app?";
|
||||||
if (exception.Message == info)
|
if (exception.Message == info)
|
||||||
{
|
{
|
||||||
Log.Warn("info");
|
Log.Warn(info);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -878,6 +878,10 @@ namespace Wox
|
||||||
await updater.UpdateApp();
|
await updater.UpdateApp();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
catch (WebException ex)
|
||||||
|
{
|
||||||
|
Log.Error(ex);
|
||||||
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
Log.Error(ex);
|
Log.Error(ex);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue