From 0b6c1694b45906a974b5228589d6a34a561bff38 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Fri, 9 Aug 2019 12:47:52 +0800 Subject: [PATCH] Update python installer URL --- src/gui/mainwindow.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index 76dd2bb54..f7cc8e87c 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -2003,7 +2003,11 @@ void MainWindow::installPython() { setCursor(QCursor(Qt::WaitCursor)); // Download python - const QString installerURL = "https://www.python.org/ftp/python/3.6.6/python-3.6.6.exe"; +#ifdef QBT_APP_64BIT + const QString installerURL = "https://www.python.org/ftp/python/3.7.4/python-3.7.4-amd64.exe"; +#else + const QString installerURL = "https://www.python.org/ftp/python/3.7.4/python-3.7.4.exe"; +#endif Net::DownloadManager::instance()->download( Net::DownloadRequest(installerURL).saveToFile(true) , this, &MainWindow::pythonDownloadFinished);