mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-13 14:26:40 +00:00
Do not show update being availaible when appveyor is still building
This commit is contained in:
parent
1560f236da
commit
a6f8a0b01e
1 changed files with 11 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue