Skip to content

Commit

Permalink
Minor changes for testing. All ready for first release.
Browse files Browse the repository at this point in the history
  • Loading branch information
cprcrack committed Apr 28, 2017
1 parent 32c157b commit a506b1b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ private static void Main(string[] args)
{
#if DEBUG
//SetStartup(true); // For testing
//UpdateApp(); // For testing
#else
// Customize Squirrel update events (this also prevents shortcuts from being created as happens in the default implementation)
using (var updateManager = new UpdateManager(""))
Expand Down Expand Up @@ -94,10 +95,11 @@ private async static void UpdateApp()
await updateManager.Result.UpdateApp();
}
}
catch (Exception)
catch (Exception ex)
{
// The GitHub update process is untested. At the time of testing exceptions are thrown,
// maybe because there are no Releases setup on GitHub?
// MessageBox.Show(ex.ToString());
// The GitHub update process is untested. At the time of testing an exception is thrown,
// maybe because there are no Releases setup on GitHub? Verify later.
}
}

Expand Down

0 comments on commit a506b1b

Please sign in to comment.