mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-12 18:24:58 +08:00
Update python installer URL
This commit is contained in:
parent
2427f5d324
commit
0b6c1694b4
@ -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…
Reference in New Issue
Block a user