This commit is contained in:
crusader 2018-10-04 13:02:52 +09:00
parent d2838bb083
commit b89521ccc0
3 changed files with 8 additions and 25 deletions

0
config/build/mac/pkg/scripts/postinstall Normal file → Executable file
View File

0
config/build/mac/pkg/scripts/preinstall Normal file → Executable file
View File

View File

@ -17,19 +17,12 @@
"files": [
"packages.json",
{
"filter": [
"**/*",
"!*.ts",
"!*.scss",
"!yarn.lock"
],
"filter": ["**/*", "!*.ts", "!*.scss", "!yarn.lock"],
"from": "./build/dist/",
"to": "."
},
{
"filter": [
"**/*"
],
"filter": ["**/*"],
"from": "config/build/${os}/icon/",
"to": "./assets/image/icon/"
}
@ -44,10 +37,7 @@
"target": [
{
"target": "deb",
"arch": [
"ia32",
"x64"
]
"arch": ["ia32", "x64"]
}
],
"category": "Network;Monitor;",
@ -64,15 +54,11 @@
}
},
"deb": {
"depends": [
"libpcap0.8"
],
"depends": ["libpcap0.8"],
"afterInstall": "config/build/linux/debian/after-install.tpl"
},
"mac": {
"target": [
"pkg"
],
"target": ["pkg"],
"category": "public.app-category.utilities",
"minimumSystemVersion": "10.12.0",
"icon": "config/build/mac/icon/overflow_1024.icns",
@ -84,16 +70,13 @@
]
},
"pkg": {
"scripts": "config/build/mac/pkg/scripts"
"scripts": "mac/pkg/scripts/"
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
"arch": ["x64", "ia32"]
}
],
"legalTrademarks": "overFlow",
@ -116,4 +99,4 @@
"include": "config/build/windows/nsis/installer.nsh",
"menuCategory": "overFlow"
}
}
}