From 2c490bd328e252cffbdfee24726628e49e6a1438 Mon Sep 17 00:00:00 2001 From: Oj Date: Wed, 13 Apr 2022 08:16:41 +0100 Subject: [PATCH] [FirstRun > win32] Fix syntax 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 fc7dcf8..ed0a49d 100644 --- a/src/firstRun/win32.js +++ b/src/firstRun/win32.js @@ -19,7 +19,7 @@ exports.do = (updater) => { require('../utils/registry').add([[base, '/ve', '/d', `URL:${proto} Protocol`], [base, '/v', 'URL Protocol'], [base + '\\DefaultIcon', '/ve', '/d', `"${process.execPath}",-1`], [base + '\\shell\\open\\command', '/ve', '/d', `"${process.execPath}" --url -- "%1"`]], () => { // Make protocol try { // Make shortcuts const file = Constants.APP_NAME_FOR_HUMANS + '.lnk'; - const icon_Path = join(root, 'app.ico'); + const icon_path = join(root, 'app.ico'); fs.copyFileSync(join(app, 'app.ico'), icon_path); // app-1.0.0/app.ico -> app.ico