From a968e8cc799facfccf1201b6ec5b217118cccba0 Mon Sep 17 00:00:00 2001 From: Moondarker Date: Mon, 22 Mar 2021 18:17:02 +0300 Subject: [PATCH 1/2] Bump PrismarineJS package versions --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b27c6cd..5931ffb 100644 --- a/package.json +++ b/package.json @@ -51,9 +51,9 @@ "electron-window-state": "^5.0.3", "escape-html": "^1.0.3", "md5-file": "^5.0.0", - "minecraft-data": "^2.70.2", + "minecraft-data": "^2.80.0", "minecraft-folder-path": "^1.1.0", - "minecraft-protocol": "^1.22.0", + "minecraft-protocol": "^1.24.1", "node-eval": "^2.0.0", "source-map-support": "^0.5.19", "ws": "^7.4.1" From 4372bff1872130240ec04f4dd0a4f40cb6e33c4c Mon Sep 17 00:00:00 2001 From: Kastle <26531652+Kas-tle@users.noreply.github.com> Date: Fri, 2 Apr 2021 16:06:27 -0700 Subject: [PATCH 2/2] Update index.js --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index baf0279..df4b73a 100644 --- a/src/index.js +++ b/src/index.js @@ -7,8 +7,8 @@ const Store = require('electron-store') const store = new Store() let proxy // Defined later when an option is chosen -const resourcesPath = fs.existsSync('resources/app') - ? 'resources/app/' // Packaged with electron-forge +const resourcesPath = fs.existsSync(process.resourcesPath.concat('/app/')) + ? process.resourcesPath.concat('/app/') // Packaged with electron-forge : './' // npm start