Skip to content

Commit f285deb

Browse files
committed
reckon i've got this sussed now
1 parent e5f1a37 commit f285deb

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

F1InXAML/App.xaml.cs

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,23 @@ private void App_OnStartup(object sender, StartupEventArgs e)
3030
mainWindow.Show();
3131

3232
#if RELEASE
33-
CheckForUpdates();
33+
Task.Factory.StartNew(CheckForUpdates);
3434
#endif
3535
}
3636

3737
private static async void CheckForUpdates()
3838
{
3939
using (var mgr = UpdateManager.GitHubUpdateManager("https://github.com/MaterialDesignInXAML/F1InXAML"))
4040
{
41-
await mgr.Result.UpdateApp();
41+
try
42+
{
43+
mgr.Result.UpdateApp();
44+
}
45+
catch (Exception)
46+
{
47+
48+
}
49+
4250
}
4351
}
4452
}

Releases/RELEASES

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
A0353ED24E33D53B01A43670DA7068D0BBFBDAC6 F1ix-1.0.1-full.nupkg 3153771
2-
D3FA1A0D219F36A33D04D10CE4DF7B55BA0C990C F1ix-1.0.2-delta.nupkg 37796
3-
A7565ECA5854ECC9EA2C9659003ADD3DD97965D6 F1ix-1.0.2-full.nupkg 3206976
1+
6E28337E544E7ED7B0CEACE28C637E4747563455 F1ix-1.0.2-full.nupkg 3206929

Releases/Setup.exe

0 Bytes
Binary file not shown.

Releases/Setup.msi

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)