Skip to content

Commit a506b1b

Browse files
committed
Minor changes for testing. All ready for first release.
1 parent 32c157b commit a506b1b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Program.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ private static void Main(string[] args)
3737
{
3838
#if DEBUG
3939
//SetStartup(true); // For testing
40+
//UpdateApp(); // For testing
4041
#else
4142
// Customize Squirrel update events (this also prevents shortcuts from being created as happens in the default implementation)
4243
using (var updateManager = new UpdateManager(""))
@@ -94,10 +95,11 @@ private async static void UpdateApp()
9495
await updateManager.Result.UpdateApp();
9596
}
9697
}
97-
catch (Exception)
98+
catch (Exception ex)
9899
{
99-
// The GitHub update process is untested. At the time of testing exceptions are thrown,
100-
// maybe because there are no Releases setup on GitHub?
100+
// MessageBox.Show(ex.ToString());
101+
// The GitHub update process is untested. At the time of testing an exception is thrown,
102+
// maybe because there are no Releases setup on GitHub? Verify later.
101103
}
102104
}
103105

0 commit comments

Comments
 (0)