Build viewer/editor #13

Manually merged
williamjcm merged 128 commits from mass-viewer into master 2022-03-02 14:50:10 +01:00
Showing only changes of commit 1378676bbc - Show all commits

View file

@ -418,8 +418,8 @@ void SaveTool::updateCheckEvent(SDL_Event& event) {
std::chrono::milliseconds{5000}); std::chrono::milliseconds{5000});
_updateAvailable = true; _updateAvailable = true;
_latestVersion = latest_ver; _latestVersion = latest_ver;
_releaseLink = response[0]["html_url"]; _releaseLink = release["html_url"];
_downloadLink = response[0]["assets"][0]["browser_download_url"]; _downloadLink = release["assets"][0]["browser_download_url"];
} }
else if(latest_ver == current_ver || (current_ver > latest_ver && Utility::String::endsWith(SAVETOOL_VERSION, "-pre"))) { else if(latest_ver == current_ver || (current_ver > latest_ver && Utility::String::endsWith(SAVETOOL_VERSION, "-pre"))) {
_queue.addToast(Toast::Type::Success, "The application is already up to date."); _queue.addToast(Toast::Type::Success, "The application is already up to date.");