2022-01-17 14:50:31 +08:00
|
|
|
{
|
2022-09-09 10:47:45 +08:00
|
|
|
"appId": ".eoapi.io",
|
2022-10-14 11:19:51 +08:00
|
|
|
"productName": "Eoapi",
|
2022-04-20 20:49:11 +08:00
|
|
|
"asar": true,
|
2022-01-17 14:50:31 +08:00
|
|
|
"directories": {
|
|
|
|
"output": "release/"
|
|
|
|
},
|
2022-04-17 09:39:20 +08:00
|
|
|
"files": [
|
2022-06-02 21:05:11 +08:00
|
|
|
"out/app/**/*.js*",
|
|
|
|
"out/platform/**/*.js*",
|
2022-07-20 13:44:12 +08:00
|
|
|
"out/enviroment.js",
|
2022-06-02 21:05:11 +08:00
|
|
|
"out/shared/**/*.js*",
|
2022-04-17 09:39:20 +08:00
|
|
|
"**/*/browser/dist/**/*",
|
|
|
|
"**/*/node/dist/**/*",
|
2022-07-13 12:46:00 +08:00
|
|
|
"out/workbench/browser/src/**/*.js*",
|
|
|
|
"out/workbench/node/**/*.js*",
|
2022-06-02 21:05:11 +08:00
|
|
|
"out/core/**/package.json",
|
|
|
|
"out/app/common/**/*",
|
2022-04-17 09:39:20 +08:00
|
|
|
"!**/*.ts"
|
2022-01-17 14:50:31 +08:00
|
|
|
],
|
2022-07-12 15:42:13 +08:00
|
|
|
"publish": [
|
2022-07-15 20:52:45 +08:00
|
|
|
"github",
|
2022-07-12 15:42:13 +08:00
|
|
|
{
|
|
|
|
"provider": "generic",
|
|
|
|
"url": "https://packages.eoapi.io"
|
2022-07-15 20:52:45 +08:00
|
|
|
}
|
2022-07-12 15:42:13 +08:00
|
|
|
],
|
2022-04-18 23:15:02 +08:00
|
|
|
"generateUpdatesFilesForAllChannels": true,
|
2022-02-17 18:37:46 +08:00
|
|
|
"nsis": {
|
|
|
|
"oneClick": false,
|
|
|
|
"allowElevation": true,
|
2022-09-09 10:47:45 +08:00
|
|
|
"allowToChangeInstallationDirectory": true,
|
|
|
|
// for win - 将协议写入主机的脚本
|
|
|
|
"include": "scripts/urlProtoco.nsh"
|
2022-02-17 18:37:46 +08:00
|
|
|
},
|
2022-09-09 10:47:45 +08:00
|
|
|
"protocols": [
|
|
|
|
// for macOS - 用于在主机注册指定协议
|
|
|
|
{
|
|
|
|
"name": "eoapi",
|
2022-10-14 11:19:51 +08:00
|
|
|
"schemes": [
|
|
|
|
"eoapi"
|
|
|
|
]
|
2022-09-09 10:47:45 +08:00
|
|
|
}
|
|
|
|
],
|
2022-01-17 14:50:31 +08:00
|
|
|
"win": {
|
2022-04-18 23:15:02 +08:00
|
|
|
"icon": "src/app/common/images/256x256.png",
|
2022-01-17 14:50:31 +08:00
|
|
|
"target": [
|
2022-02-16 19:14:49 +08:00
|
|
|
{
|
|
|
|
"target": "nsis"
|
|
|
|
},
|
2022-01-17 14:50:31 +08:00
|
|
|
"portable"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"portable": {
|
2022-04-18 23:15:02 +08:00
|
|
|
"splashImage": "src/app/common/images/eoapi.bmp"
|
2022-01-17 14:50:31 +08:00
|
|
|
},
|
|
|
|
"mac": {
|
2022-04-18 23:15:02 +08:00
|
|
|
"icon": "src/app/common/images/512x512.png",
|
2022-05-19 20:08:09 +08:00
|
|
|
"hardenedRuntime": true,
|
|
|
|
"gatekeeperAssess": false,
|
2022-09-09 10:47:45 +08:00
|
|
|
"entitlements": "scripts/entitlements.mac.plist",
|
|
|
|
"entitlementsInherit": "scripts/entitlements.mac.plist",
|
2022-10-14 11:19:51 +08:00
|
|
|
"target": [
|
|
|
|
"dmg",
|
|
|
|
"zip"
|
|
|
|
]
|
2022-05-19 20:08:09 +08:00
|
|
|
},
|
|
|
|
"dmg": {
|
|
|
|
"sign": false
|
2022-01-17 14:50:31 +08:00
|
|
|
},
|
2022-09-09 10:47:45 +08:00
|
|
|
"afterSign": "scripts/notarize.js",
|
2022-01-17 14:50:31 +08:00
|
|
|
"linux": {
|
2022-04-18 23:15:02 +08:00
|
|
|
"icon": "src/app/common/images/",
|
2022-10-14 11:19:51 +08:00
|
|
|
"target": [
|
|
|
|
"AppImage"
|
|
|
|
]
|
2022-01-17 14:50:31 +08:00
|
|
|
}
|
2022-10-14 11:19:51 +08:00
|
|
|
}
|