加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.json 1.24 KB
一键复制 编辑 原始数据 按行查看 历史
chenglin 提交于 2024-11-09 20:14 . 更新不删除文件
{
"asar": false,
"extraFiles": [
"./extra"
],
"nsis": {
"oneClick": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true,
"installerIcon": "build/icons/icon.ico",
"uninstallerIcon": "build/icons/icon.ico",
"installerHeaderIcon": "build/icons/icon.ico",
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "GAMENAME",
"include":"build/install/installer.nsh"
},
"publish": [
{
"provider": "generic",
"url": "http://1.2.3.4"
}
],
"afterPack": ".electron-vite/afterPack.js",
"beforePack": ".electron-vite/beforePack.js",
"productName": "GAMENAME",
"appId": "GAMENAME-initiator",
"directories": {
"output": "build"
},
"files": [
"dist/electron/**/*"
],
"dmg": {
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"mac": {
"icon": "build/icons/icon.icns"
},
"win": {
"requestedExecutionLevel": "highestAvailable",
"icon": "build/icons/icon.ico",
"target": "nsis"
},
"linux": {
"target": "deb",
"icon": "build/icons"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化