From 7e354ccd4f6e2dd8c90b56799413c7d466b17438 Mon Sep 17 00:00:00 2001 From: Oj Date: Mon, 13 Dec 2021 09:56:37 +0000 Subject: [PATCH] [FirstRun > win32] Fix using wrong named var causing error --- src/firstRun/win32.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');