mirror of https://github.com/keeweb/keeweb.git
windows update installer spaces fix
This commit is contained in:
parent
bd882d0e17
commit
f994278a8b
|
@ -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');
|
||||
|
|
Loading…
Reference in New Issue