chore: fixed macos update script

This commit is contained in:
vladimir.kuznetsov 2025-01-02 13:40:55 +07:00
parent eb6c40f92a
commit 44082462b7
6 changed files with 35 additions and 46 deletions

View file

@ -147,14 +147,13 @@ void UpdateController::runInstaller()
}
file.close();
QString t = installerPath;
#if defined(Q_OS_WINDOWS)
runWindowsInstaller(t);
runWindowsInstaller(installerPath);
#elif defined(Q_OS_MACOS)
runMacInstaller(t);
runMacInstaller(installerPath);
#elif defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID)
runLinuxInstaller(t);
runLinuxInstaller(installerPath);
#endif
} else {
if (reply->error() == QNetworkReply::NetworkError::OperationCanceledError