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