diff --git a/app/lib/index.js b/app/lib/index.js index 93a32c381d..7d9faa3d6a 100644 --- a/app/lib/index.js +++ b/app/lib/index.js @@ -173,7 +173,7 @@ renderer.on('external:download-update', async function(options) { const updateZipFile = downloadedFile.getSavePath(); - const updateScript = isWindows ? '/update.bat' : '/update.ps1'; + const updateScript = isWindows ? 'update.ps1' : '/update.sh'; log.info('downloading update to', options);