mirror of
https://github.com/Kuingsmile/PicList.git
synced 2026-05-07 05:32:52 +08:00
97 lines
2.1 KiB
JSON
97 lines
2.1 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{,/**}"],
|
|
"dmg": {
|
|
"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}",
|
|
"hardenedRuntime": true,
|
|
"entitlements": "build/entitlements.mac.plist",
|
|
"entitlementsInherit": "build/entitlements.mac.plist",
|
|
"notarize": false
|
|
},
|
|
"win": {
|
|
"icon": "resources/icon.ico",
|
|
"artifactName": "PicList-Setup-${version}-${arch}-portable.${ext}",
|
|
"verifyUpdateCodeSignature": false,
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": ["x64", "arm64"]
|
|
},
|
|
{
|
|
"target": "7z",
|
|
"arch": ["x64", "arm64"]
|
|
},
|
|
{
|
|
"target": "zip",
|
|
"arch": ["x64", "arm64"]
|
|
}
|
|
]
|
|
},
|
|
"nsis": {
|
|
"artifactName": "PicList-Setup-${version}-${arch}.exe",
|
|
"shortcutName": "PicList",
|
|
"oneClick": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"include": "build/installer.nsh"
|
|
},
|
|
"linux": {
|
|
"executableName": "PicList",
|
|
"icon": "build/icons/512x512.png",
|
|
"artifactName": "PicList-${version}-${arch}.${ext}",
|
|
"target": [
|
|
{
|
|
"target": "AppImage",
|
|
"arch": ["x64", "arm64"]
|
|
},
|
|
{
|
|
"target": "deb",
|
|
"arch": ["x64", "arm64"]
|
|
},
|
|
{
|
|
"target": "snap",
|
|
"arch": ["x64"]
|
|
}
|
|
],
|
|
"maintainer": "Kuingsmile",
|
|
"category": "Utility"
|
|
}
|
|
}
|