Verify hash of Python installer

PR #21877.
This commit is contained in:
Chocobo1
2024-11-26 00:29:11 +08:00
committed by GitHub
parent b0fe6e6c59
commit 3ebdb50457
2 changed files with 70 additions and 13 deletions

View File

@@ -133,9 +133,6 @@ private slots:
void optionsSaved();
void toggleAlternativeSpeeds();
#ifdef Q_OS_WIN
void pythonDownloadFinished(const Net::DownloadResult &result);
#endif
void addToolbarContextMenu();
void manageCookies();
@@ -184,12 +181,12 @@ private slots:
#else
void toggleVisibility();
#endif
#ifdef Q_OS_WIN
void pythonDownloadFinished(const Net::DownloadResult &result);
#endif
private:
void populateDesktopIntegrationMenu();
#ifdef Q_OS_WIN
void installPython();
#endif
void closeEvent(QCloseEvent *) override;
void showEvent(QShowEvent *) override;
@@ -204,6 +201,11 @@ private:
void refreshWindowTitle();
void refreshTrayIconTooltip();
#ifdef Q_OS_WIN
void installPython();
bool verifyPythonInstaller(const Path &installerPath) const;
#endif
Ui::MainWindow *m_ui = nullptr;
QString m_windowTitle;