[builds]: Removed electron-packager and initialized electron-builder
This commit is contained in:
parent
082dca9bd4
commit
683c19569f
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@ node_modules
|
|||||||
._*
|
._*
|
||||||
.DS_Store
|
.DS_Store
|
||||||
dist
|
dist
|
||||||
|
release
|
38
electron-builder.json
Normal file
38
electron-builder.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
1560
package-lock.json
generated
1560
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
38
package.json
38
package.json
@ -1,16 +1,40 @@
|
|||||||
{
|
{
|
||||||
"name": "caa-game",
|
"name": "heront",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"description": "",
|
"description": "A game",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
|
"keywords": [
|
||||||
|
"game",
|
||||||
|
"asdf-games",
|
||||||
|
"RPG"
|
||||||
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "npm run lint && cross-env NODE_ENV=dev electron .",
|
"start": "npm run lint && cross-env NODE_ENV=dev electron .",
|
||||||
"lint": "eslint .",
|
"lint": "eslint .",
|
||||||
"build:win": "electron-packager . --platform=win32 --out=dist --overwrite",
|
"build:all": "npm run lint && electron-builder build -mwl",
|
||||||
"build:mac": "electron-packager . --platform=darwin --out=dist --overwrite",
|
"build:win": "npm run lint && electron-builder build --windows",
|
||||||
"build:linux": "electron-packager . --platform=linux --out=dist --overwrite"
|
"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",
|
"license": "ISC",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"asdf-games": "^1.0.14"
|
"asdf-games": "^1.0.14"
|
||||||
@ -18,7 +42,7 @@
|
|||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"cross-env": "^7.0.2",
|
"cross-env": "^7.0.2",
|
||||||
"electron": "^8.0.2",
|
"electron": "^8.0.2",
|
||||||
"electron-packager": "^14.2.1",
|
"electron-builder": "^22.4.1",
|
||||||
"electron-reload": "^1.5.0",
|
"electron-reload": "^1.5.0",
|
||||||
"eslint": "^6.8.0"
|
"eslint": "^6.8.0"
|
||||||
}
|
}
|
||||||
|
BIN
res/favicons/favicon.256x256.png
Normal file
BIN
res/favicons/favicon.256x256.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 10 KiB |
BIN
res/favicons/favicon.32x32.png
Normal file
BIN
res/favicons/favicon.32x32.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
BIN
res/favicons/favicon.512x512.png
Normal file
BIN
res/favicons/favicon.512x512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
BIN
res/favicons/favicon.icns
Normal file
BIN
res/favicons/favicon.icns
Normal file
Binary file not shown.
BIN
res/favicons/favicon.ico
Normal file
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
BIN
res/favicons/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
Loading…
Reference in New Issue
Block a user