1 Star 18 Fork 7

滔滔清风/FFBox

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
electron-builder.json5 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
/**
* @see https://www.electron.build/configuration/configuration
*/
{
"appId": "FFBox",
"asar": false,
"directories": {
"output": "release"
},
"files": [
"app/main",
"app/preload",
"app/renderer",
"!**/*.map"
],
"extraFiles": [
{
"from": "LICENSE",
"to": "LICENSE",
},
],
"win": {
"artifactName": "${productName}_${version}.${ext}",
"icon": "256.png",
"target": [
{
"target": "dir",
"arch": ["x64"],
}
],
"extraFiles": [
{
"from": "app/backend/index.exe",
"to": "FFBoxService.exe",
},
{
"from": "FFBoxHelper.exe",
"to": "FFBoxHelper.exe",
},
],
},
"mac": {
"artifactName": "${productName}_${version}.${ext}",
"icon": "512.png",
"target": [
{
"target": "dmg",
'arch': ["arm64"],
}
],
"extraFiles": [
{
"from": "app/backend/index",
"to": "Resources/FFBoxService",
},
],
},
"linux": {
"artifactName": "${productName}_${version}.${ext}",
"icon": "256.icns",
"target": [
{
"target": "AppImage",
"arch": ["x64"],
},
{
"target": "deb",
"arch": ["x64"],
},
],
"extraFiles": [
{
"from": "app/backend/index",
"to": "FFBoxService",
},
],
},
"afterAllArtifactBuild": "./scripts/postPackage-Windows.cjs",
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
TypeScript
1
https://gitee.com/ttqf/FFBox.git
git@gitee.com:ttqf/FFBox.git
ttqf
FFBox
FFBox
4.0+

搜索帮助