diff --git a/GitCommander/Properties/AssemblyInfo.cs b/GitCommander/Properties/AssemblyInfo.cs index 52a09b9..b39344e 100644 --- a/GitCommander/Properties/AssemblyInfo.cs +++ b/GitCommander/Properties/AssemblyInfo.cs @@ -37,7 +37,7 @@ public static class VersionInfo { - public const string version = "1.0.2"; + public const string version = "1.0.3"; #if DEBUG public const string versionType = version + "d"; diff --git a/GitItGUI.Core/AppManager.cs b/GitItGUI.Core/AppManager.cs index 2643a62..8535696 100644 --- a/GitItGUI.Core/AppManager.cs +++ b/GitItGUI.Core/AppManager.cs @@ -397,18 +397,14 @@ private static bool IsValidVersion(string currentVersion, string requiredVersion private static void DownloadGit() { - using (var process = Process.Start("https://git-scm.com/downloads")) - { - process.WaitForExit(); - } + var process = Process.Start("https://git-scm.com/downloads"); + process.Dispose(); } private static void DownloadGitLFS() { - using (var process = Process.Start("https://git-lfs.github.com/")) - { - process.WaitForExit(); - } + var process = Process.Start("https://git-lfs.github.com/"); + process.Dispose(); } private static void Client_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e) @@ -445,7 +441,7 @@ private static void Client_DownloadStringCompleted(object sender, DownloadString canCheckAppVersion = false; if (!IsValidVersion(VersionInfo.version, xmlReader.ReadInnerXml())) { - DebugLog.LogError("Your 'Git-It-GUI' version is out of date."); + DebugLog.LogWarning("Your 'Git-It-GUI' version is out of date."); if (checkForUpdatesCallback != null) checkForUpdatesCallback(UpdateCheckResult.AppVersionOutOfDate); } } diff --git a/GitItGUI.UI/Screens/StartScreen.xaml.cs b/GitItGUI.UI/Screens/StartScreen.xaml.cs index 7e429d6..e220339 100644 --- a/GitItGUI.UI/Screens/StartScreen.xaml.cs +++ b/GitItGUI.UI/Screens/StartScreen.xaml.cs @@ -154,10 +154,8 @@ private void settingsButton_Click(object sender, RoutedEventArgs e) private void UpdateImage_MouseUp(object sender, System.Windows.Input.MouseButtonEventArgs e) { - using (var process = Process.Start("https://github.com/reignstudios/Git-It-GUI/releases")) - { - process.WaitForExit(); - } + var process = Process.Start("https://github.com/reignstudios/Git-It-GUI/releases"); + process.Dispose(); } } } diff --git a/GitItGUI.UI/VersionInfo.xml b/GitItGUI.UI/VersionInfo.xml index 9656e78..985fc71 100644 --- a/GitItGUI.UI/VersionInfo.xml +++ b/GitItGUI.UI/VersionInfo.xml @@ -1,4 +1,4 @@  - 1.0.2 + 1.0.3 diff --git a/Installer/Git-It-GUI_Installer.aip b/Installer/Git-It-GUI_Installer.aip index bd384ba..935f4dd 100644 --- a/Installer/Git-It-GUI_Installer.aip +++ b/Installer/Git-It-GUI_Installer.aip @@ -13,10 +13,10 @@ - + - +