diff --git a/ElectronicObserver/Utility/SoftwareInformation.cs b/ElectronicObserver/Utility/SoftwareInformation.cs index a5188282b..6451363f1 100644 --- a/ElectronicObserver/Utility/SoftwareInformation.cs +++ b/ElectronicObserver/Utility/SoftwareInformation.cs @@ -10,13 +10,11 @@ namespace ElectronicObserver.Utility { - /// /// ソフトウェアの情報を保持します。 /// public static class SoftwareInformation { - /// /// ソフトウェア名(日本語) /// @@ -38,26 +36,23 @@ public static class SoftwareInformation /// /// バージョン(英語) /// - public static string VersionEnglish => "4.6.0.2"; - + public static string VersionEnglish => "4.6.1"; /// /// 更新日時 /// - public static DateTime UpdateTime => DateTimeHelper.CSVStringToTime("2020/07/23 11:30:00"); - - + public static DateTime UpdateTime => DateTimeHelper.CSVStringToTime("2020/09/12 12:30:00"); private static System.Net.WebClient? Client { get; set; } private static Uri Uri { get; } = - new Uri("http://raw.githubusercontent.com/gre4bee/ryuukitsune.github.io/master/Translations/en-US/update.json"); + new Uri( + "http://raw.githubusercontent.com/gre4bee/ryuukitsune.github.io/master/Translations/en-US/update.json"); public static void CheckUpdate() { - if (!Configuration.Config.Life.CheckUpdateInformation) return; if (Client == null) @@ -117,23 +112,19 @@ private static void DownloadStringCompleted(object sender, System.Net.DownloadSt } else if (result == System.Windows.Forms.DialogResult.Cancel) { - Configuration.Config.Life.CheckUpdateInformation = false; } - } else { Logger.Add(3, "You are currently using the latest version (" + date.ToString("yyyy/MM/dd") + " release)."); - } } catch (Exception ex) { ErrorReporter.SendErrorReport(ex, Resources.UpdateConnectionFailed); } - } } -} +} \ No newline at end of file