mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-26 02:23:05 +00:00
Remove temporary code
This commit is contained in:
parent
63f1bb58e2
commit
c63053adf2
3 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue