1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-17 21:46:40 +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 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

View file

@ -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
{

View file

@ -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;