app/electron-builder.json

109 lines
2.6 KiB
JSON
Raw Normal View History

2018-09-18 03:39:53 +00:00
{
"appId": "com.loafle.overflow.scanner",
"productName": "overFlow Network Scanner",
2018-09-27 07:57:49 +00:00
"copyright": "Copyright © 2016 LOAFLE",
2018-10-02 01:32:32 +00:00
"asar": false,
"compression": "normal",
"npmRebuild": false,
"npmSkipBuildFromSource": false,
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
2018-09-26 14:20:09 +00:00
"directories": {
2018-10-02 11:33:17 +00:00
"buildResources": "./config/build/",
2018-09-28 05:28:29 +00:00
"output": "./build/package"
2018-09-26 14:20:09 +00:00
},
2018-09-18 05:58:08 +00:00
"files": [
2018-09-28 05:28:29 +00:00
{
2018-10-02 16:03:36 +00:00
"filter": ["**/*", "!*.ts", "!*.scss", "!yarn.lock"],
2018-10-02 08:54:45 +00:00
"from": "./build/dist/",
"to": "."
},
"packages.json"
2018-10-02 01:32:32 +00:00
],
"extraFiles": [
{
"from": "config/_database.sqlite",
"to": "./bin/database.sqlite"
2018-10-02 11:33:17 +00:00
},
{
2018-10-02 16:03:36 +00:00
"filter": ["**/*"],
2018-10-02 11:33:17 +00:00
"from": "config/build/${os}/icon/",
"to": "./icon/"
2018-10-02 01:32:32 +00:00
}
2018-09-18 05:58:08 +00:00
],
2018-09-18 03:39:53 +00:00
"linux": {
"target": [
{
"target": "deb",
2018-10-02 16:03:36 +00:00
"arch": ["ia32", "x64"]
2018-09-18 03:39:53 +00:00
}
],
2018-10-02 01:32:32 +00:00
"executableName": "overFlow-NetworkScanner",
2018-10-02 11:33:17 +00:00
"icon": "config/build/linux/icon/",
2018-09-26 14:20:09 +00:00
"synopsis": "overFlow Network Scanner",
"category": "Utility",
2018-09-18 05:58:08 +00:00
"extraFiles": [
{
2018-09-28 05:28:29 +00:00
"from": "config/build/linux/bin/probe-${os}-${arch}",
2018-10-02 01:32:32 +00:00
"to": "./bin/probe"
2018-09-18 05:58:08 +00:00
}
]
2018-09-18 03:39:53 +00:00
},
2018-09-26 14:20:09 +00:00
"deb": {
2018-10-02 16:03:36 +00:00
"depends": ["libpcap0.8"],
2018-10-02 01:32:32 +00:00
"afterInstall": "config/build/linux/after-install.tpl"
2018-09-26 14:20:09 +00:00
},
2018-09-18 03:39:53 +00:00
"mac": {
"category": "public.app-category.utilities",
2018-09-18 05:58:08 +00:00
"artifactName": "${productName}-${version}-${arch}.${ext}",
"minimumSystemVersion": "10.12.0",
2018-10-02 16:03:36 +00:00
"extendInfo": "config/build/mac/Info.plist",
"icon": "config/build/mac/icon/overflow_1024.icns",
"target": ["dmg"],
2018-09-18 05:58:08 +00:00
"extraFiles": [
{
2018-10-02 16:03:36 +00:00
"from": "config/build/mac/bin/probe-${os}-${arch}",
"to": "./bin/probe"
2018-09-18 05:58:08 +00:00
}
]
2018-09-18 03:39:53 +00:00
},
"dmg": {
"icon": null,
2018-10-02 16:03:36 +00:00
"iconSize": 150,
2018-09-18 05:58:08 +00:00
"contents": [
{
"x": 480,
2018-10-02 16:03:36 +00:00
"y": 240,
2018-09-18 05:58:08 +00:00
"type": "link",
"path": "/Applications"
2018-10-02 16:03:36 +00:00
},
{
"x": 130,
"y": 240,
"type": "file"
2018-09-18 05:58:08 +00:00
}
],
2018-10-02 16:03:36 +00:00
"background": "config/build/mac/icon/background/background.png"
2018-09-18 05:58:08 +00:00
},
2018-09-26 14:20:09 +00:00
"win": {
"target": [
{
"target": "nsis",
2018-10-02 16:03:36 +00:00
"arch": ["x64", "ia32"]
2018-09-26 14:20:09 +00:00
}
],
"legalTrademarks": "overFlow",
"publisherName": "LOAFLE",
"icon": "config/build/windows/icon/icon.ico"
2018-09-18 05:58:08 +00:00
},
2018-09-26 14:20:09 +00:00
"nsis": {
"oneClick": false,
"perMachine": true,
"allowToChangeInstallationDirectory": true,
"installerIcon": "config/build/windows/icon/icon.ico",
"uninstallerIcon": "config/build/windows/icon/icon.ico",
"include": "config/build/windows/nsis/installer.nsh",
"artifactName": "${productName} Setup ${version}.${ext}",
"menuCategory": "overFlow"
2018-09-18 03:39:53 +00:00
}
2018-10-02 16:03:36 +00:00
}