This commit is contained in:
crusader 2018-10-23 23:05:50 +09:00
parent 256124a58d
commit 00ad65e00f
2 changed files with 36 additions and 40 deletions

View File

@ -34,37 +34,37 @@
"to": "./assets/image/icon/" "to": "./assets/image/icon/"
} }
], ],
"extraResources": [ "extraResources": [{
{ "from": "config/_database.sqlite",
"from": "config/_database.sqlite", "to": "./bin/database.sqlite"
"to": "./bin/database.sqlite" }],
}
],
"linux": { "linux": {
"target": [ "target": [{
{ "target": "deb",
"target": "deb", "arch": [
"arch": [ "ia32",
"ia32", "x64"
"x64" ]
] }],
}
],
"category": "Network;Monitor;", "category": "Network;Monitor;",
"synopsis": "The network scanner from LOAFLE", "synopsis": "The network scanner from LOAFLE",
"icon": "config/build/linux/icon/", "icon": "config/build/linux/icon/",
"extraResources": [ "extraResources": [{
{ "from": "config/build/${os}/bin/probe-${os}-${arch}",
"from": "config/build/${os}/bin/probe-${os}-${arch}", "to": "./bin/probe"
"to": "./bin/probe" }],
}
],
"desktop": { "desktop": {
"StartupWMClass": "overflow-network-scanner" "StartupWMClass": "overflow-network-scanner"
} }
}, },
"deb": { "deb": {
"depends": [ "depends": [
"gconf2",
"gconf-service",
"libnotify4",
"libappindicator1",
"libxtst6",
"libnss3",
"libpcap0.8" "libpcap0.8"
], ],
"afterInstall": "config/build/linux/debian/after-install.tpl" "afterInstall": "config/build/linux/debian/after-install.tpl"
@ -76,8 +76,7 @@
"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",
"extraResources": [ "extraResources": [{
{
"from": "config/build/mac/bin/probe-${os}-${arch}", "from": "config/build/mac/bin/probe-${os}-${arch}",
"to": "./bin/probe" "to": "./bin/probe"
}, },
@ -94,23 +93,20 @@
"scripts": "mac/pkg/scripts/" "scripts": "mac/pkg/scripts/"
}, },
"win": { "win": {
"target": [ "target": [{
{ "target": "nsis",
"target": "nsis", "arch": [
"arch": [ "ia32",
"x64" "x64"
] ]
} }],
],
"legalTrademarks": "overFlow", "legalTrademarks": "overFlow",
"publisherName": "LOAFLE", "publisherName": "LOAFLE",
"icon": "config/build/win/icon/overflow_256.ico", "icon": "config/build/win/icon/overflow_256.ico",
"extraResources": [ "extraResources": [{
{ "from": "config/build/win/bin/probe-${os}-${arch}.exe",
"from": "config/build/win/bin/probe-${os}-${arch}.exe", "to": "./bin/probe.exe"
"to": "./bin/probe.exe" }]
}
]
}, },
"nsis": { "nsis": {
"oneClick": false, "oneClick": false,
@ -121,4 +117,4 @@
"menuCategory": "overFlow", "menuCategory": "overFlow",
"include": "config/build/win/nsis/installer.nsh" "include": "config/build/win/nsis/installer.nsh"
} }
} }

View File

@ -33,9 +33,11 @@
}, },
"dependencies": { "dependencies": {
"electron-devtools-installer": "^2.2.4", "electron-devtools-installer": "^2.2.4",
"electron-log": "^2.2.17",
"electron-window-state": "^5.0.1", "electron-window-state": "^5.0.1",
"file-uri-to-path": "^1.0.0", "file-uri-to-path": "^1.0.0",
"file-url": "^2.0.2", "file-url": "^2.0.2",
"fs-extra": "^7.0.0",
"rxjs": "^6.2.2", "rxjs": "^6.2.2",
"sqlite3": "^4.0.2" "sqlite3": "^4.0.2"
}, },
@ -84,9 +86,7 @@
"electron-connect": "^0.6.3", "electron-connect": "^0.6.3",
"electron-connect-webpack-plugin": "^0.1.1", "electron-connect-webpack-plugin": "^0.1.1",
"electron-debug": "^2.0.0", "electron-debug": "^2.0.0",
"electron-log": "^2.2.17",
"electron-updater": "^3.1.2", "electron-updater": "^3.1.2",
"fs-extra": "^7.0.0",
"ip-cidr": "^2.0.0", "ip-cidr": "^2.0.0",
"jasmine-core": "~2.99.1", "jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",