windows update installer spaces fix

pull/1705/head
antelle 2021-01-10 00:16:45 +01:00
parent bd882d0e17
commit f994278a8b
No known key found for this signature in database
GPG Key ID: 63C9777AAB7C563C
1 changed files with 1 additions and 2 deletions

View File

@ -47,8 +47,7 @@ function installWin32Update(updateFilePath) {
const appDir = path.dirname(electron.app.getPath('exe'));
updateFilePath = updateFilePath.replace(/ /g, '\\ ');
const updateCommand = `${updateFilePath} /U1 /D=${appDir}`;
const updateCommand = `"${updateFilePath}" /U1 /D=${appDir}`;
const tempPath = path.join(electron.app.getPath('temp'), 'KeeWeb');
const updateLauncherScriptPath = path.join(tempPath, 'update-keeweb.cmd');