From 7fbdef396ccd87651b48a9ba3b3f55980698f2dc Mon Sep 17 00:00:00 2001 From: yell0wsuit <5692900+yell0wsuit@users.noreply.github.com> Date: Wed, 17 Apr 2024 00:43:34 +0700 Subject: [PATCH] FOR TESTING!!! This is just for testing the update functionality! --- src/Ryujinx/Modules/Updater/Updater.cs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/Ryujinx/Modules/Updater/Updater.cs b/src/Ryujinx/Modules/Updater/Updater.cs index 82debc332..65a1a4ac7 100644 --- a/src/Ryujinx/Modules/Updater/Updater.cs +++ b/src/Ryujinx/Modules/Updater/Updater.cs @@ -74,7 +74,8 @@ namespace Ryujinx.Modules return; } - string buildInfoUrl = $"{GitHubApiUrl}/repos/{ReleaseInformation.ReleaseChannelOwner}/{ReleaseInformation.ReleaseChannelRepo}/releases/latest"; + //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 if (!await TryUpdateVersionInfo(buildInfoUrl, showVersionUpToDate)) { return; @@ -114,7 +115,8 @@ namespace Ryujinx.Modules { try { - return Version.Parse(Program.Version); + //return Version.Parse(Program.Version); + return Version.Parse("1.1.0"); // Temporary code, will revert back } catch { @@ -663,7 +665,7 @@ namespace Ryujinx.Modules return false; } - if (Program.Version.Contains("dirty") || !ReleaseInformation.IsValid) + /*if (Program.Version.Contains("dirty") || !ReleaseInformation.IsValid) { if (showWarnings) { @@ -675,7 +677,7 @@ namespace Ryujinx.Modules } return false; - } + }*/ // Temporary commented out, will revert back return true; #else