109 lines
2.6 KiB
JSON
109 lines
2.6 KiB
JSON
{
|
|
"appId": "com.loafle.overflow.scanner",
|
|
"productName": "overFlow Network Scanner",
|
|
"copyright": "Copyright © 2016 LOAFLE",
|
|
"asar": false,
|
|
"compression": "normal",
|
|
"npmRebuild": false,
|
|
"npmSkipBuildFromSource": false,
|
|
"artifactName": "${name}-${version}-${os}-${arch}.${ext}",
|
|
"directories": {
|
|
"buildResources": "./config/build/",
|
|
"output": "./build/package"
|
|
},
|
|
"files": [
|
|
{
|
|
"filter": ["**/*", "!*.ts", "!*.scss", "!yarn.lock"],
|
|
"from": "./build/dist/",
|
|
"to": "."
|
|
},
|
|
"packages.json"
|
|
],
|
|
"extraFiles": [
|
|
{
|
|
"from": "config/_database.sqlite",
|
|
"to": "./bin/database.sqlite"
|
|
},
|
|
{
|
|
"filter": ["**/*"],
|
|
"from": "config/build/${os}/icon/",
|
|
"to": "./icon/"
|
|
}
|
|
],
|
|
"linux": {
|
|
"target": [
|
|
{
|
|
"target": "deb",
|
|
"arch": ["ia32", "x64"]
|
|
}
|
|
],
|
|
"executableName": "overFlow-NetworkScanner",
|
|
"icon": "config/build/linux/icon/",
|
|
"synopsis": "overFlow Network Scanner",
|
|
"category": "Utility",
|
|
"extraFiles": [
|
|
{
|
|
"from": "config/build/linux/bin/probe-${os}-${arch}",
|
|
"to": "./bin/probe"
|
|
}
|
|
]
|
|
},
|
|
"deb": {
|
|
"depends": ["libpcap0.8"],
|
|
"afterInstall": "config/build/linux/after-install.tpl"
|
|
},
|
|
"mac": {
|
|
"category": "public.app-category.utilities",
|
|
"artifactName": "${productName}-${version}-${arch}.${ext}",
|
|
"minimumSystemVersion": "10.12.0",
|
|
"extendInfo": "config/build/mac/Info.plist",
|
|
"icon": "config/build/mac/icon/overflow_1024.icns",
|
|
"target": ["dmg"],
|
|
"extraFiles": [
|
|
{
|
|
"from": "config/build/mac/bin/probe-${os}-${arch}",
|
|
"to": "./bin/probe"
|
|
}
|
|
]
|
|
},
|
|
"dmg": {
|
|
"icon": null,
|
|
"iconSize": 150,
|
|
"contents": [
|
|
{
|
|
"x": 480,
|
|
"y": 240,
|
|
"type": "link",
|
|
"path": "/Applications"
|
|
},
|
|
{
|
|
"x": 130,
|
|
"y": 240,
|
|
"type": "file"
|
|
}
|
|
],
|
|
"background": "config/build/mac/icon/background/background.png"
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": ["x64", "ia32"]
|
|
}
|
|
],
|
|
"legalTrademarks": "overFlow",
|
|
"publisherName": "LOAFLE",
|
|
"icon": "config/build/windows/icon/icon.ico"
|
|
},
|
|
"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"
|
|
}
|
|
}
|