move to pkg

This commit is contained in:
vapormusic 2022-02-12 13:49:02 +07:00
parent 4e591a711a
commit e78738ad54
2 changed files with 14 additions and 1 deletions

View file

@ -69,6 +69,7 @@
"@types/ws": "^8.2.2",
"electron": "git+https://github.com/castlabs/electron-releases.git",
"electron-builder": "^22.14.13",
"electron-builder-notarize-pkg": "^1.2.0",
"electron-webpack": "^2.8.2",
"musickit-typescript": "^1.2.4",
"playwright": "^1.18.1",
@ -106,6 +107,7 @@
"appId": "cider",
"afterPack": "./resources/afterPack.js",
"afterSign": "./resources/notarize.js",
"afterAllArtifactBuild": "electron-builder-notarize-pkg",
"protocols": [
{
"name": "Cider",
@ -151,6 +153,17 @@
"license": "LICENSE",
"deleteAppDataOnUninstall": true
},
"pkg": {
"allowAnywhere": true,
"allowRootDirectory" : true,
"license" : "LICENSE",
"overwriteAction": "upgrade",
"background" : {
"file": "./resources/bg.png",
"alignment": "bottomleft",
"scaling": "tofit"
}
},
"win": {
"target": [
"nsis"
@ -170,7 +183,7 @@
"entitlementsInherit": "./resources/entitlements.mac.plist",
"darkModeSupport": true,
"target": [
"dmg"
"pkg"
]
}
}

BIN
resources/bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB