Browse Source

Update python installer URL

adaptive-webui-19844
Chocobo1 5 years ago
parent
commit
0b6c1694b4
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 6
      src/gui/mainwindow.cpp

6
src/gui/mainwindow.cpp

@ -2003,7 +2003,11 @@ void MainWindow::installPython()
{ {
setCursor(QCursor(Qt::WaitCursor)); setCursor(QCursor(Qt::WaitCursor));
// Download python // 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::DownloadManager::instance()->download(
Net::DownloadRequest(installerURL).saveToFile(true) Net::DownloadRequest(installerURL).saveToFile(true)
, this, &MainWindow::pythonDownloadFinished); , this, &MainWindow::pythonDownloadFinished);

Loading…
Cancel
Save