1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-14 10:16:43 +00:00

Do not show update being availaible when appveyor is still building

This commit is contained in:
Thog 2020-09-29 22:52:41 +02:00
parent 1560f236da
commit a6f8a0b01e

View file

@ -77,6 +77,17 @@ namespace Ryujinx
_jobId = (string)buildToken["jobs"][0]["jobId"]; _jobId = (string)buildToken["jobs"][0]["jobId"];
_buildVer = (string)buildToken["version"]; _buildVer = (string)buildToken["version"];
_buildUrl = $"{AppveyorApiUrl}/buildjobs/{_jobId}/artifacts/ryujinx-{_buildVer}-{_platformExt}"; _buildUrl = $"{AppveyorApiUrl}/buildjobs/{_jobId}/artifacts/ryujinx-{_buildVer}-{_platformExt}";
// If build not done, assume no new update are availaible.
if ((string)buildToken["jobs"][0]["status"] != "success")
{
if (showVersionUpToDate)
{
GtkDialog.CreateInfoDialog("Ryujinx - Updater", "You are already using the most updated version of Ryujinx!", "");
}
return;
}
} }
} }
catch (Exception exception) catch (Exception exception)