frpc-desktop/electron-builder.json5

145 lines
2.8 KiB
Plaintext
Raw Permalink Normal View History

2023-11-27 15:03:25 +08:00
/**
* @see https://www.electron.build/configuration/configuration
*/
{
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
"appId": "priv.liujiawei.frpc.desktop",
"asar": true,
"productName": "Frpc-Desktop",
"directories": {
"output": "release/${version}"
},
2024-08-06 19:30:37 +08:00
"icon": "./public/logo/pack/512x512.png",
2023-11-27 15:03:25 +08:00
"files": [
"dist",
"dist-electron"
],
2024-08-07 21:21:42 +08:00
"dmg": {
"window": {
"width": 540,
"height": 380
},
"contents": [
{
"x": 410,
"y": 230,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 230,
"type": "file"
}
]
},
2023-11-27 15:03:25 +08:00
"mac": {
"target": [
2024-08-07 21:21:42 +08:00
{
target: "dmg",
"arch": [
"x64",
"arm64",
"universal"
]
},
{
"target": "zip",
"arch": [
"x64",
"arm64",
"universal"
2024-08-09 00:33:31 +08:00
],
2024-08-07 21:21:42 +08:00
}
2023-11-27 15:03:25 +08:00
],
2024-08-09 13:08:45 +08:00
// "artifactName": "${productName}-mac-${arch}-${version}.${ext}",
2024-08-08 15:25:52 +08:00
category: "public.app-category.utilities"
2023-11-27 15:03:25 +08:00
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
2024-08-07 21:21:42 +08:00
"x64",
"ia32"
]
},
2024-08-09 00:33:31 +08:00
// {
2024-08-07 21:21:42 +08:00
// "target": "appx",
// "arch": [
// "x64",
// "ia32"
// ]
// },
{
"target": "zip",
"arch": [
"x64",
"ia32"
]
},
{
"target": "portable",
"arch": [
"x64",
"ia32"
2023-11-27 15:03:25 +08:00
]
}
],
2024-08-09 13:08:45 +08:00
// "artifactName": "${productName}-win-${arch}-${version}.${ext}"
2023-11-27 15:03:25 +08:00
},
"nsis": {
2024-08-09 13:08:45 +08:00
// "artifactName": "${productName}-win-${arch}-${version}-Setup.${ext}",
2023-11-27 15:03:25 +08:00
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
},
2024-08-07 21:21:42 +08:00
"portable": {
2024-08-09 13:08:45 +08:00
// "artifactName": "${productName}-win-${arch}-${version}.${ext}"
2024-08-07 21:21:42 +08:00
},
2023-11-27 15:03:25 +08:00
"linux": {
"target": [
2024-08-07 21:21:42 +08:00
{
"target": "AppImage",
"arch": [
"x64",
"arm64",
2024-08-09 00:33:31 +08:00
// "armv7l"
2024-08-07 21:21:42 +08:00
]
},
{
"target": "deb",
"arch": [
"x64",
"arm64",
2024-08-09 00:33:31 +08:00
// "armv7l"
2024-08-07 21:21:42 +08:00
]
},
{
"target": "rpm",
"arch": [
"x64"
]
},
2024-08-09 00:33:31 +08:00
// {
// "target": "snap",
// "arch": [
// "x64"
// ]
// }
2024-08-09 09:32:15 +08:00
2023-11-27 15:03:25 +08:00
],
2024-08-08 15:25:52 +08:00
"category": "Network",
2024-08-09 13:08:45 +08:00
// "artifactName": "${productName}-Linux-${arch}-${version}.${ext}"
2023-11-27 15:03:25 +08:00
},
2024-08-08 15:25:52 +08:00
"publish": [
{
"provider": "github",
"owner": "luckjiawei",
"repo": "frpc-desktop",
"releaseType": "draft",
},
]
2023-11-27 15:03:25 +08:00
}