From b89521ccc0f4821b9d52729e9f06e8ee99b9d31a Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 4 Oct 2018 13:02:52 +0900 Subject: [PATCH] ing --- config/build/mac/pkg/scripts/postinstall | 0 config/build/mac/pkg/scripts/preinstall | 0 electron-builder.json | 33 ++++++------------------ 3 files changed, 8 insertions(+), 25 deletions(-) mode change 100644 => 100755 config/build/mac/pkg/scripts/postinstall mode change 100644 => 100755 config/build/mac/pkg/scripts/preinstall diff --git a/config/build/mac/pkg/scripts/postinstall b/config/build/mac/pkg/scripts/postinstall old mode 100644 new mode 100755 diff --git a/config/build/mac/pkg/scripts/preinstall b/config/build/mac/pkg/scripts/preinstall old mode 100644 new mode 100755 diff --git a/electron-builder.json b/electron-builder.json index d3af861..44e8300 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -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" } -} \ No newline at end of file +}