Files
PicList/electron-builder.json
2025-08-22 10:50:51 +08:00

86 lines
1.8 KiB
JSON

{
"productName": "PicList",
"appId": "com.kuingsmile.piclist",
"afterPack": "scripts/afterPack.cjs",
"afterSign": "scripts/notarize.cjs",
"directories": {
"output": "dist_electron",
"buildResources": "build"
},
"asarUnpack": [
"**/node_modules/sharp/**",
"**/node_modules/ssh2-no-cpu-features/**",
"**/node_modules/@img/**",
"resources/**"
],
"files": ["out/**/*", "resources/**", "package.json", "!**/node_modules/typescript{,/**}"],
"publish": [
{
"provider": "s3",
"bucket": "piclist-dl",
"region": "auto",
"acl": "private",
"endpoint": "https://7ab4ed5cb1f4052a13d3b573876ecf33.r2.cloudflarestorage.com",
"path": "/latest"
},
{
"provider": "github",
"owner": "Kuingsmile",
"repo": "PicList",
"releaseType": "draft"
}
],
"dmg": {
"sign": false,
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"mac": {
"icon": "resources/icon.icns",
"extendInfo": {
"LSUIElement": 0
},
"target": [
{
"target": "default",
"arch": ["x64", "arm64"]
}
],
"artifactName": "PicList-${version}-${arch}.${ext}"
},
"win": {
"icon": "resources/icon.ico",
"artifactName": "PicList-Setup-${version}-${arch}.exe",
"verifyUpdateCodeSignature": false,
"target": [
{
"target": "nsis",
"arch": ["x64", "ia32", "arm64"]
}
]
},
"nsis": {
"shortcutName": "PicList",
"oneClick": false,
"allowToChangeInstallationDirectory": true,
"include": "build/installer.nsh"
},
"linux": {
"icon": "resources/"
},
"snap": {
"publish": ["github"]
}
}