FOR TESTING!!!
This is just for testing the update functionality!
This commit is contained in:
parent
b2c5d4f8d7
commit
7fbdef396c
1 changed files with 6 additions and 4 deletions
|
@ -74,7 +74,8 @@ 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;
|
||||||
|
@ -114,7 +115,8 @@ 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
|
||||||
{
|
{
|
||||||
|
@ -663,7 +665,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)
|
||||||
{
|
{
|
||||||
|
@ -675,7 +677,7 @@ namespace Ryujinx.Modules
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}*/ // Temporary commented out, will revert back
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue