[builds]: Removed electron-packager and initialized electron-builder

This commit is contained in:
corner 2020-04-14 15:38:21 +02:00
parent 082dca9bd4
commit 683c19569f
10 changed files with 1160 additions and 469 deletions

3
.gitignore vendored
View File

@ -1,4 +1,5 @@
node_modules
._*
.DS_Store
dist
dist
release

38
electron-builder.json Normal file
View File

@ -0,0 +1,38 @@
{
"productName": "heront",
"directories": {
"output": "release/"
},
"copyright": "Made by Arne van Iterson & Job Vonk",
"files": [
"**/*"
],
"win": {
"icon": "res/favicons",
"target": {
"target": "portable",
"arch": [
"x64",
"ia32"
]
}
},
"mac": {
"icon": "res/favicons",
"target": {
"target": "dmg"
},
"category": "public.app-category.adventure-games"
},
"linux": {
"icon": "res/favicons",
"target": {
"target": "AppImage",
"arch": [
"x64",
"arm64"
]
},
"category": "Game"
}
}

1550
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,16 +1,40 @@
{
"name": "caa-game",
"name": "heront",
"version": "1.0.0",
"description": "",
"description": "A game",
"main": "main.js",
"keywords": [
"game",
"asdf-games",
"RPG"
],
"scripts": {
"start": "npm run lint && cross-env NODE_ENV=dev electron .",
"lint": "eslint .",
"build:win": "electron-packager . --platform=win32 --out=dist --overwrite",
"build:mac": "electron-packager . --platform=darwin --out=dist --overwrite",
"build:linux": "electron-packager . --platform=linux --out=dist --overwrite"
"build:all": "npm run lint && electron-builder build -mwl",
"build:win": "npm run lint && electron-builder build --windows",
"build:mac": "npm run lint && electron-builder build --mac",
"build:linux": "npm run lint && electron-builder build --linux",
"postinstall": "electron-builder install-app-deps"
},
"author": "McArn",
"homepage": "https://gitea.arnweb.nl/Hecc-inc./caa-game",
"repository": {
"type": "git",
"url": "https://gitea.arnweb.nl/Hecc-inc./caa-game.git"
},
"bugs": "https://gitea.arnweb.nl/Hecc-inc./caa-game/issues",
"author": {
"name": "Job Vonk",
"email": "job@jobbel.nl",
"url": "https://jobbel.nl"
},
"contributors": [
{
"name": "Arne van Iterson",
"email": "arne@arnweb.nl",
"url": "https://arnweb.nl"
}
],
"license": "ISC",
"dependencies": {
"asdf-games": "^1.0.14"
@ -18,7 +42,7 @@
"devDependencies": {
"cross-env": "^7.0.2",
"electron": "^8.0.2",
"electron-packager": "^14.2.1",
"electron-builder": "^22.4.1",
"electron-reload": "^1.5.0",
"eslint": "^6.8.0"
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

BIN
res/favicons/favicon.icns Normal file

Binary file not shown.

BIN
res/favicons/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
res/favicons/favicon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB