Browse Source

Point URLs to zecwallet-lite

pull/9/head
Aditya Kulkarni 5 years ago
parent
commit
0d5ea2f5a5
  1. 4
      src/controller.cpp
  2. 2
      src/mainwindow.cpp

4
src/controller.cpp

@ -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());

2
src/mainwindow.cpp

@ -54,7 +54,7 @@ MainWindow::MainWindow(QWidget *parent) :
// File a bug
QObject::connect(ui->actionFile_a_bug, &QAction::triggered, [=]() {
QDesktopServices::openUrl(QUrl("https://github.com/zcashfoundation/zecwallet/issues/new"));
QDesktopServices::openUrl(QUrl("https://github.com/adityapk00/zecwallet-lite/issues/new"));
});
// Set up check for updates action

Loading…
Cancel
Save