diff --git a/src/firstRun/win32.js b/src/firstRun/win32.js index 858a29b..6af2975 100644 --- a/src/firstRun/win32.js +++ b/src/firstRun/win32.js @@ -7,7 +7,7 @@ const Constants = require('../Constants'); const appPath = path.resolve(process.execPath, '..'); const rootPath = path.resolve(appPath, '..'); const exeFilename = path.basename(process.execPath); -const updateExe = path.join(rootFolder, 'Update.exe'); +const updateExe = path.join(rootPath, 'Update.exe'); const iconFile = 'app.ico'; const copyIconToRoot = () => { @@ -70,4 +70,4 @@ exports.performFirstRunTasks = (updater) => { } } }); -}; \ No newline at end of file +};