|
|
@ -658,7 +658,7 @@ void Controller::checkForUpdate(bool silent) { |
|
|
|
if (!zrpc->haveConnection()) |
|
|
|
return noConnection(); |
|
|
|
|
|
|
|
QUrl cmcURL("https://api.github.com/repos/DenioD/SilentDragonLite/releases"); |
|
|
|
QUrl cmcURL("https://api.github.com/repos/MyHush/SilentDragonLite/releases"); |
|
|
|
|
|
|
|
QNetworkRequest req; |
|
|
|
req.setUrl(cmcURL); |
|
|
@ -706,7 +706,7 @@ void Controller::checkForUpdate(bool silent) { |
|
|
|
.arg(currentVersion.toString()), |
|
|
|
QMessageBox::Yes, QMessageBox::Cancel); |
|
|
|
if (ans == QMessageBox::Yes) { |
|
|
|
QDesktopServices::openUrl(QUrl("https://github.com/DenioD/SilentDragonLite/releases")); |
|
|
|
QDesktopServices::openUrl(QUrl("https://github.com/MyHush/SilentDragonLite/releases")); |
|
|
|
} else { |
|
|
|
// If the user selects cancel, don't bother them again for this version
|
|
|
|
s.setValue("update/lastversion", maxVersion.toString()); |
|
|
|