diff --git a/electron-builder.json b/electron-builder.json index a206c15..e14bc6f 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -34,37 +34,37 @@ "to": "./assets/image/icon/" } ], - "extraResources": [ - { - "from": "config/_database.sqlite", - "to": "./bin/database.sqlite" - } - ], + "extraResources": [{ + "from": "config/_database.sqlite", + "to": "./bin/database.sqlite" + }], "linux": { - "target": [ - { - "target": "deb", - "arch": [ - "ia32", - "x64" - ] - } - ], + "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" - } - ], + "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" @@ -76,8 +76,7 @@ "category": "public.app-category.utilities", "minimumSystemVersion": "10.12.0", "icon": "config/build/mac/icon/overflow_1024.icns", - "extraResources": [ - { + "extraResources": [{ "from": "config/build/mac/bin/probe-${os}-${arch}", "to": "./bin/probe" }, @@ -94,23 +93,20 @@ "scripts": "mac/pkg/scripts/" }, "win": { - "target": [ - { - "target": "nsis", - "arch": [ - "x64" - ] - } - ], + "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" - } - ] + "extraResources": [{ + "from": "config/build/win/bin/probe-${os}-${arch}.exe", + "to": "./bin/probe.exe" + }] }, "nsis": { "oneClick": false, @@ -121,4 +117,4 @@ "menuCategory": "overFlow", "include": "config/build/win/nsis/installer.nsh" } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 529ce29..1911084 100644 --- a/package.json +++ b/package.json @@ -33,9 +33,11 @@ }, "dependencies": { "electron-devtools-installer": "^2.2.4", + "electron-log": "^2.2.17", "electron-window-state": "^5.0.1", "file-uri-to-path": "^1.0.0", "file-url": "^2.0.2", + "fs-extra": "^7.0.0", "rxjs": "^6.2.2", "sqlite3": "^4.0.2" }, @@ -84,9 +86,7 @@ "electron-connect": "^0.6.3", "electron-connect-webpack-plugin": "^0.1.1", "electron-debug": "^2.0.0", - "electron-log": "^2.2.17", "electron-updater": "^3.1.2", - "fs-extra": "^7.0.0", "ip-cidr": "^2.0.0", "jasmine-core": "~2.99.1", "jasmine-spec-reporter": "~4.2.1",