move to pkg
This commit is contained in:
parent
4e591a711a
commit
e78738ad54
2 changed files with 14 additions and 1 deletions
15
package.json
15
package.json
|
@ -69,6 +69,7 @@
|
||||||
"@types/ws": "^8.2.2",
|
"@types/ws": "^8.2.2",
|
||||||
"electron": "git+https://github.com/castlabs/electron-releases.git",
|
"electron": "git+https://github.com/castlabs/electron-releases.git",
|
||||||
"electron-builder": "^22.14.13",
|
"electron-builder": "^22.14.13",
|
||||||
|
"electron-builder-notarize-pkg": "^1.2.0",
|
||||||
"electron-webpack": "^2.8.2",
|
"electron-webpack": "^2.8.2",
|
||||||
"musickit-typescript": "^1.2.4",
|
"musickit-typescript": "^1.2.4",
|
||||||
"playwright": "^1.18.1",
|
"playwright": "^1.18.1",
|
||||||
|
@ -106,6 +107,7 @@
|
||||||
"appId": "cider",
|
"appId": "cider",
|
||||||
"afterPack": "./resources/afterPack.js",
|
"afterPack": "./resources/afterPack.js",
|
||||||
"afterSign": "./resources/notarize.js",
|
"afterSign": "./resources/notarize.js",
|
||||||
|
"afterAllArtifactBuild": "electron-builder-notarize-pkg",
|
||||||
"protocols": [
|
"protocols": [
|
||||||
{
|
{
|
||||||
"name": "Cider",
|
"name": "Cider",
|
||||||
|
@ -151,6 +153,17 @@
|
||||||
"license": "LICENSE",
|
"license": "LICENSE",
|
||||||
"deleteAppDataOnUninstall": true
|
"deleteAppDataOnUninstall": true
|
||||||
},
|
},
|
||||||
|
"pkg": {
|
||||||
|
"allowAnywhere": true,
|
||||||
|
"allowRootDirectory" : true,
|
||||||
|
"license" : "LICENSE",
|
||||||
|
"overwriteAction": "upgrade",
|
||||||
|
"background" : {
|
||||||
|
"file": "./resources/bg.png",
|
||||||
|
"alignment": "bottomleft",
|
||||||
|
"scaling": "tofit"
|
||||||
|
}
|
||||||
|
},
|
||||||
"win": {
|
"win": {
|
||||||
"target": [
|
"target": [
|
||||||
"nsis"
|
"nsis"
|
||||||
|
@ -170,7 +183,7 @@
|
||||||
"entitlementsInherit": "./resources/entitlements.mac.plist",
|
"entitlementsInherit": "./resources/entitlements.mac.plist",
|
||||||
"darkModeSupport": true,
|
"darkModeSupport": true,
|
||||||
"target": [
|
"target": [
|
||||||
"dmg"
|
"pkg"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
BIN
resources/bg.png
Normal file
BIN
resources/bg.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Loading…
Add table
Add a link
Reference in a new issue