From a506b1b7a548060383ddcb57203a461fae22ff7f Mon Sep 17 00:00:00 2001 From: Cristian Perez Date: Fri, 28 Apr 2017 02:42:21 +0200 Subject: [PATCH] Minor changes for testing. All ready for first release. --- Program.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Program.cs b/Program.cs index 50df609..0e47d26 100644 --- a/Program.cs +++ b/Program.cs @@ -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("")) @@ -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. } }