Skip to content

Commit

Permalink
Remove updater.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro-Beirao committed Nov 6, 2024
1 parent f65f313 commit a72e117
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 20 deletions.
19 changes: 17 additions & 2 deletions src/updater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ bool updateLauncherDialog(bool manualReq)
#if defined(Q_OS_MAC)
msgBox.setInformativeText("Available: " + latest +
"\n\n"
"This will download and open the latest .dmg, you will need to drag-n-drop it to the Applications folder.\n"
"This will download and open the latest .dmg, you need to drag-n-drop it to the Applications folder.\n"
"A Terminal window will appear to perform this action, and this Launcher will quit.");
#elif defined(Q_OS_WINDOWS)
msgBox.setInformativeText("Available: " + latest +
Expand Down Expand Up @@ -187,7 +187,22 @@ bool updateGameDialog(bool manualReq)
}
else if (current != latest && latest != "")
{
msgBox.setInformativeText("Available: " + latest);
#if defined(Q_OS_WIN)
msgBox.setInformativeText("Available: " + latest +
"\n\n"
"This will download and extract the latest version to the current folder.\n"
"A CMD window will appear to perform this action.");
#elif defined(Q_OS_MACOS)
msgBox.setInformativeText("Available: " + latest +
"\n\n"
"This will download and install the latest version, inside the Launcher's App Bundle.\n"
"A Terminal window will appear to perform this action.");
#elif defined(Q_OS_LINUX)
msgBox.setInformativeText("Available: " + latest +
"\n\n"
"This will download and extract the latest version to the current folder.\n"
"A Terminal window will appear to perform this action.");
#endif
QPushButton *buttonYes = msgBox.addButton("Update", QMessageBox::YesRole);
msgBox.addButton("Close", QMessageBox::NoRole);
msgBox.setDefaultButton(buttonYes);
Expand Down
18 changes: 0 additions & 18 deletions updater/updater.json

This file was deleted.

0 comments on commit a72e117

Please sign in to comment.