From 491be968679b90af7d08bbd6c55fd1b031ce9151 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Tue, 23 Jan 2024 13:32:55 +0100 Subject: [PATCH 1/2] Fix another issue at startup --- src/server/install.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/server/install.js b/src/server/install.js index 8853808..5364e42 100644 --- a/src/server/install.js +++ b/src/server/install.js @@ -1,11 +1,11 @@ +import ChildProcess from 'child_process' +import path from 'path' + export default function handleSquirrelEvent (app) { if (process.argv.length === 1) { return false } - const ChildProcess = require('child_process') - const path = require('path') - const appFolder = path.resolve(process.execPath, '..') const rootAtomFolder = path.resolve(appFolder, '..') const updateDotExe = path.resolve(path.join(rootAtomFolder, 'Update.exe')) From c0f6ace01206d36bd1ae66bb357dc5310db95c08 Mon Sep 17 00:00:00 2001 From: Quentin Legot Date: Tue, 23 Jan 2024 13:33:15 +0100 Subject: [PATCH 2/2] Dump to 2.1.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 508dd6f..755be40 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "altarik-launcher", "author": "Altarik", - "version": "2.1.3", + "version": "2.1.4", "description": "Altarik Launcher", "main": "src/server/main.js", "type": "module",