1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-18 00:26:39 +00:00

Remove temporary code

This commit is contained in:
yell0wsuit 2024-04-18 13:16:01 +07:00
parent 63f1bb58e2
commit c63053adf2
No known key found for this signature in database
GPG key ID: 5B4F198A9800F6F4
3 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,6 @@
using Avalonia.Threading; using Avalonia.Threading;
using FluentAvalonia.UI.Controls; using FluentAvalonia.UI.Controls;
using Ryujinx.Ava;
using Ryujinx.Ava.Common.Locale; using Ryujinx.Ava.Common.Locale;
using Ryujinx.Ava.UI.Helpers; using Ryujinx.Ava.UI.Helpers;
using Ryujinx.Common; using Ryujinx.Common;
@ -28,7 +29,7 @@ namespace Ryujinx.Modules
return false; return false;
} }
/*if (Program.Version.Contains("dirty") || !ReleaseInformation.IsValid) if (Program.Version.Contains("dirty") || !ReleaseInformation.IsValid)
{ {
if (showWarnings) if (showWarnings)
{ {
@ -40,7 +41,7 @@ namespace Ryujinx.Modules
} }
return false; return false;
}*/ // Temporary commented out, will revert back }
return true; return true;
#else #else

View file

@ -1,3 +1,4 @@
using Ryujinx.Ava;
using Ryujinx.Ava.Common.Locale; using Ryujinx.Ava.Common.Locale;
using Ryujinx.Ava.UI.Helpers; using Ryujinx.Ava.UI.Helpers;
using Ryujinx.Common.Logging; using Ryujinx.Common.Logging;
@ -15,8 +16,7 @@ namespace Ryujinx.Modules
{ {
try try
{ {
//return Version.Parse(Program.Version); return Version.Parse(Program.Version);
return Version.Parse("1.1.0"); // Temporary code, will revert back
} }
catch catch
{ {

View file

@ -44,8 +44,7 @@ namespace Ryujinx.Modules
return; 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)) if (!await TryUpdateVersionInfo(buildInfoUrl, showVersionUpToDate))
{ {
return; return;