Update python installer URL

This commit is contained in:
Chocobo1 2019-08-09 12:47:52 +08:00
parent 2427f5d324
commit 0b6c1694b4
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C

View File

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