um-react-electron/electron-builder.json5

70 lines
1.7 KiB
Plaintext
Raw Permalink Normal View History

2023-08-29 22:25:50 +00:00
/**
* @see https://www.electron.build/configuration/configuration
*/
{
"$schema": "https://github.com/dfvips/iqiyi-parser",
"appId": "com.dreamfly.um",
"productName": "音乐解锁 React",
"asar": true,
"directories": {
"output": "release/${version}"
},
"asarUnpack":[
"resources/**"
],
"mac": {
"icon": "build/icon.icns",
2023-12-28 01:57:50 +00:00
"artifactName": "${name}-${version}-macos-${arch}.${ext}",
2023-08-29 22:25:50 +00:00
"target": [
2023-12-28 01:57:50 +00:00
{
target: "dmg",
arch: ["arm64", "x64"]
}
2023-08-29 22:25:50 +00:00
],
"files": [
"!**/.vscode/*",
"!{.eslintignore,.eslintrc.js,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}"
]
},
"compression": "maximum",
"win": {
"icon": "build/icon.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
},
{
"target": "7z"
}
],
2023-12-28 01:57:50 +00:00
"artifactName": "${name}-${version}-win-${arch}.${ext}",
2023-08-29 22:25:50 +00:00
"files": [
"!**/.vscode/*",
"!{.eslintignore,.eslintrc.js,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}"
]
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": true,
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico",
"uninstallDisplayName": "${name}-${version}",
2023-12-28 01:57:50 +00:00
"artifactName": "${name}-${version}-win-${arch}-setup.${ext}",
2023-08-29 22:25:50 +00:00
"shortcutName": "${productName}"
2023-12-28 01:57:50 +00:00
},
"linux": {
"icon": "build/icon.png",
"target": "AppImage",
"artifactName": "${name}-${version}-${arch}.${ext}",
"files": [
"!**/.vscode/*",
"!{.eslintignore,.eslintrc.js,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}"
]
},
2023-08-29 22:25:50 +00:00
}