SaveTool: make pre-releases considered up-to-date if they're more recent than the latest stable.
This commit is contained in:
parent
7059295cb3
commit
bd05a98820
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,7 @@ void SaveTool::updateCheckEvent(SDL_Event& event) {
|
|||
_releaseLink = response[0]["html_url"];
|
||||
_downloadLink = response[0]["assets"][0]["browser_download_url"];
|
||||
}
|
||||
else if(latest_ver == current_ver) {
|
||||
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.");
|
||||
}
|
||||
else if(current_ver > latest_ver) {
|
||||
|
|
Loading…
Reference in a new issue