Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/Heath123/pakkit
Browse files Browse the repository at this point in the history
  • Loading branch information
Heath123 committed Apr 12, 2021
2 parents ebae286 + 1475be8 commit 9020872
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,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"
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,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


Expand Down

0 comments on commit 9020872

Please sign in to comment.