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