diff --git a/OutlookOkan/Models/CheckNewVersion.cs b/OutlookOkan/Models/CheckNewVersion.cs index 0102011..d1a33ca 100644 --- a/OutlookOkan/Models/CheckNewVersion.cs +++ b/OutlookOkan/Models/CheckNewVersion.cs @@ -22,7 +22,7 @@ public bool IsCanDownloadNewVersion() ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; client.Encoding = System.Text.Encoding.UTF8; - var versionFile = client.DownloadString("https://github.com/t-miyake/OutlookOkan/blob/master/version"); + var versionFile = client.DownloadString("https://raw.githubusercontent.com/t-miyake/OutlookOkan/master/version"); if (string.IsNullOrEmpty(versionFile)) return false; var fetchedVersion = int.Parse(versionFile.Replace(".", ""));