app/electron-builder.json
crusader 00ad65e00f ing
2018-10-23 23:05:50 +09:00

121 lines
2.7 KiB
JSON

{
"appId": "com.loafle.overflow.scanner",
"productName": "overFlow-NetworkScanner",
"copyright": "Copyright © 2016 LOAFLE",
"extraMetadata": {
"name": "overflow-network-scanner"
},
"asar": true,
"compression": "normal",
"npmRebuild": false,
"npmSkipBuildFromSource": false,
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
"directories": {
"buildResources": "./config/build/",
"output": "./build/package"
},
"files": [
"packages.json",
{
"filter": [
"**/*",
"!*.ts",
"!*.scss",
"!yarn.lock"
],
"from": "./build/dist/",
"to": "."
},
{
"filter": [
"**/*"
],
"from": "config/build/${os}/icon/",
"to": "./assets/image/icon/"
}
],
"extraResources": [{
"from": "config/_database.sqlite",
"to": "./bin/database.sqlite"
}],
"linux": {
"target": [{
"target": "deb",
"arch": [
"ia32",
"x64"
]
}],
"category": "Network;Monitor;",
"synopsis": "The network scanner from LOAFLE",
"icon": "config/build/linux/icon/",
"extraResources": [{
"from": "config/build/${os}/bin/probe-${os}-${arch}",
"to": "./bin/probe"
}],
"desktop": {
"StartupWMClass": "overflow-network-scanner"
}
},
"deb": {
"depends": [
"gconf2",
"gconf-service",
"libnotify4",
"libappindicator1",
"libxtst6",
"libnss3",
"libpcap0.8"
],
"afterInstall": "config/build/linux/debian/after-install.tpl"
},
"mac": {
"target": [
"pkg"
],
"category": "public.app-category.utilities",
"minimumSystemVersion": "10.12.0",
"icon": "config/build/mac/icon/overflow_1024.icns",
"extraResources": [{
"from": "config/build/mac/bin/probe-${os}-${arch}",
"to": "./bin/probe"
},
{
"filter": [
"**/*"
],
"from": "config/build/mac/ChmodBPF",
"to": "./ChmodBPF"
}
]
},
"pkg": {
"scripts": "mac/pkg/scripts/"
},
"win": {
"target": [{
"target": "nsis",
"arch": [
"ia32",
"x64"
]
}],
"legalTrademarks": "overFlow",
"publisherName": "LOAFLE",
"icon": "config/build/win/icon/overflow_256.ico",
"extraResources": [{
"from": "config/build/win/bin/probe-${os}-${arch}.exe",
"to": "./bin/probe.exe"
}]
},
"nsis": {
"oneClick": false,
"perMachine": true,
"allowToChangeInstallationDirectory": false,
"installerIcon": "win/icon/overflow_256.ico",
"uninstallerIcon": "win/icon/overflow_256.ico",
"menuCategory": "overFlow",
"include": "config/build/win/nsis/installer.nsh"
}
}