diff --git a/src/Ryujinx/Modules/Updater/UpdateHelpers/CanUpdate.cs b/src/Ryujinx/Modules/Updater/UpdateHelpers/CanUpdate.cs index 9e2102c6c..07a22b324 100644 --- a/src/Ryujinx/Modules/Updater/UpdateHelpers/CanUpdate.cs +++ b/src/Ryujinx/Modules/Updater/UpdateHelpers/CanUpdate.cs @@ -1,5 +1,6 @@ using Avalonia.Threading; using FluentAvalonia.UI.Controls; +using Ryujinx.Ava; using Ryujinx.Ava.Common.Locale; using Ryujinx.Ava.UI.Helpers; using Ryujinx.Common; @@ -28,7 +29,7 @@ namespace Ryujinx.Modules return false; } - /*if (Program.Version.Contains("dirty") || !ReleaseInformation.IsValid) + if (Program.Version.Contains("dirty") || !ReleaseInformation.IsValid) { if (showWarnings) { @@ -40,7 +41,7 @@ namespace Ryujinx.Modules } return false; - }*/ // Temporary commented out, will revert back + } return true; #else diff --git a/src/Ryujinx/Modules/Updater/UpdateHelpers/GetCurrentVersion.cs b/src/Ryujinx/Modules/Updater/UpdateHelpers/GetCurrentVersion.cs index 485bc0dda..aa929a45d 100644 --- a/src/Ryujinx/Modules/Updater/UpdateHelpers/GetCurrentVersion.cs +++ b/src/Ryujinx/Modules/Updater/UpdateHelpers/GetCurrentVersion.cs @@ -1,3 +1,4 @@ +using Ryujinx.Ava; using Ryujinx.Ava.Common.Locale; using Ryujinx.Ava.UI.Helpers; using Ryujinx.Common.Logging; @@ -15,8 +16,7 @@ namespace Ryujinx.Modules { try { - //return Version.Parse(Program.Version); - return Version.Parse("1.1.0"); // Temporary code, will revert back + return Version.Parse(Program.Version); } catch { diff --git a/src/Ryujinx/Modules/Updater/Updater.cs b/src/Ryujinx/Modules/Updater/Updater.cs index cbe6e0aba..b9263b221 100644 --- a/src/Ryujinx/Modules/Updater/Updater.cs +++ b/src/Ryujinx/Modules/Updater/Updater.cs @@ -44,8 +44,7 @@ namespace Ryujinx.Modules return; } - //string buildInfoUrl = $"{GitHubApiUrl}/repos/{ReleaseInformation.ReleaseChannelOwner}/{ReleaseInformation.ReleaseChannelRepo}/releases/latest"; - string buildInfoUrl = $"{GitHubApiUrl}/repos/Ryujinx/release-channel-master/releases/latest"; // Temporary code, will revert back + string buildInfoUrl = $"{GitHubApiUrl}/repos/{ReleaseInformation.ReleaseChannelOwner}/{ReleaseInformation.ReleaseChannelRepo}/releases/latest"; if (!await TryUpdateVersionInfo(buildInfoUrl, showVersionUpToDate)) { return;