mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 13:25:52 +03:00
MSI: Fix crash in the auto updater
'auto' here is a QStringBuilder referencing a temporary
Ammend commit 150d4f5935
(MSI: Always with logfile #6609)
Found in the crash reporter:
https://sentry.io/owncloud/desktop-win-and-mac/issues/623245771/
This commit is contained in:
parent
5e518419de
commit
e93972824d
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ void OCUpdater::slotStartInstaller()
|
||||||
return QDir::toNativeSeparators(path);
|
return QDir::toNativeSeparators(path);
|
||||||
};
|
};
|
||||||
|
|
||||||
auto msiLogFile = cfg.configPath() + "msi.log";
|
QString msiLogFile = cfg.configPath() + "msi.log";
|
||||||
QString command = QString("&{msiexec /norestart /passive /i '%1' /L*V '%2'| Out-Null ; &'%3'}")
|
QString command = QString("&{msiexec /norestart /passive /i '%1' /L*V '%2'| Out-Null ; &'%3'}")
|
||||||
.arg(preparePathForPowershell(updateFile))
|
.arg(preparePathForPowershell(updateFile))
|
||||||
.arg(preparePathForPowershell(msiLogFile))
|
.arg(preparePathForPowershell(msiLogFile))
|
||||||
|
|
Loading…
Reference in a new issue