diff --git a/src/firstRun/win32.js b/src/firstRun/win32.js index ca8af95..858a29b 100644 --- a/src/firstRun/win32.js +++ b/src/firstRun/win32.js @@ -5,7 +5,7 @@ const squirrel = require('../updater/squirrelUpdate'); const Constants = require('../Constants'); const appPath = path.resolve(process.execPath, '..'); -const rootPath = path.resolve(appFolder, '..'); +const rootPath = path.resolve(appPath, '..'); const exeFilename = path.basename(process.execPath); const updateExe = path.join(rootFolder, 'Update.exe');