diff --git a/src/main/resolve/autoUpdater.ts b/src/main/resolve/autoUpdater.ts index 8c7cd04..6039e20 100644 --- a/src/main/resolve/autoUpdater.ts +++ b/src/main/resolve/autoUpdater.ts @@ -86,7 +86,7 @@ export async function downloadAndInstallUpdate(version: string): Promise { } if (file.endsWith('.zip')) { const execPromise = promisify(exec) - await execPromise(`unzip -o '${path.join(dataDir(), file)}' -d /Applications`) + await execPromise(`unzip -o -K '${path.join(dataDir(), file)}' -d /Applications`) app.relaunch() app.quit() }