This commit is contained in:
crusader 2018-10-03 20:57:26 +09:00
parent ba543bdb84
commit bd3eea6642
4 changed files with 32 additions and 21 deletions

View File

@ -1 +0,0 @@
BUILD_NUMBER=0.0.1-SNAPSHOT

View File

@ -2,6 +2,9 @@
"appId": "com.loafle.overflow.scanner",
"productName": "overFlow-NetworkScanner",
"copyright": "Copyright © 2016 LOAFLE",
"extraMetadata": {
"name": "overflow-network-scanner"
},
"asar": true,
"compression": "normal",
"npmRebuild": false,
@ -35,10 +38,6 @@
{
"from": "config/_database.sqlite",
"to": "./bin/database.sqlite"
},
{
"from": "config/build/${os}/bin/probe-${os}-${arch}",
"to": "./bin/probe"
}
],
"linux": {
@ -53,7 +52,13 @@
],
"category": "Network;Monitor;",
"synopsis": "The network scanner from LOAFLE",
"icon": "config/build/linux/icon/"
"icon": "config/build/linux/icon/",
"extraResources": [
{
"from": "config/build/${os}/bin/probe-${os}-${arch}",
"to": "./bin/probe"
}
]
},
"deb": {
"depends": [
@ -68,7 +73,13 @@
"category": "public.app-category.utilities",
"minimumSystemVersion": "10.12.0",
"extendInfo": "config/build/mac/Info.plist",
"icon": "config/build/mac/icon/overflow_1024.icns"
"icon": "config/build/mac/icon/overflow_1024.icns",
"extraResources": [
{
"from": "config/build/${os}/bin/probe-${os}-${arch}",
"to": "./bin/probe"
}
]
},
"dmg": {
"background": "config/build/mac/dmg/background.png",
@ -101,7 +112,13 @@
],
"legalTrademarks": "overFlow",
"publisherName": "LOAFLE",
"icon": "config/build/windows/icon/overflow_256.ico"
"icon": "config/build/windows/icon/overflow_256.ico",
"extraResources": [
{
"from": "config/build/${os}/bin/probe-${os}-${arch}.exe",
"to": "./bin/probe.exe"
}
]
},
"nsis": {
"oneClick": false,

View File

@ -1,6 +1,6 @@
{
"name": "@overflow/network-scanner",
"version": "0.0.1",
"name": "overflow-network-scanner",
"version": "0.0.1-SNAPSHOT",
"private": true,
"author": {
"name": "LOAFLE",
@ -12,6 +12,9 @@
"scripts": {
"postinstall": "npm-run-all -s electron:builder:install-app-deps",
"ng": "ng",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"start": "npm-run-all start:electron:hmr",
"start:hmr": "ng serve --configuration hmr",
"start:electron:hmr": "npm-run-all -p start:hmr wait-on:build:main:dev",
@ -20,12 +23,10 @@
"build:renderer:prod": "cross-env NODE_ENV=production ng build --prod",
"build:main:dev": "cross-env NODE_ENV=development webpack --config config/webpack.config.main.js --progress --profile",
"build:main:prod": "cross-env NODE_ENV=production webpack --config config/webpack.config.main.js --progress --profile",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"clean:packaging": "rimraf build/dist build/package",
"wait-on:build:main:dev": "wait-on http-get://localhost:4200/ && npm-run-all build:main:dev",
"electron:builder:install-app-deps": "electron-builder install-app-deps",
"electron:builder:packaging": "cross-env NODE_ENV=production npm-run-all build && electron-builder build",
"electron:builder:packaging": "cross-env NODE_ENV=production npm-run-all -s clean:packaging build && electron-builder build",
"electron:builder:windows": "npm-run-all electron:builder:packaging -- --windows",
"electron:builder:macos": "npm-run-all electron:builder:packaging -- --macos",
"electron:builder:linux": "npm-run-all electron:builder:packaging -- --linux"
@ -66,7 +67,6 @@
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^8.10.4",
"@types/ps-tree": "^1.1.0",
"@types/source-map-support": "^0.4.1",
"@types/sqlite3": "^3.1.3",
"awesome-typescript-loader": "^5.2.0",
@ -99,7 +99,7 @@
"primeng": "^6.1.3",
"primer-support": "^4.0.0",
"protractor": "~5.3.0",
"ps-tree": "^1.1.0",
"rimraf": "^2.6.2",
"source-map-support": "^0.5.8",
"ts-node": "~5.0.1",
"tslint": "~5.9.1",

View File

@ -643,11 +643,6 @@
resolved "https://nexus.loafle.net/repository/npm-all/@types/node/-/node-8.10.31.tgz#1d9033eebdbc4dc139ff7af36e003a56dbf4ed79"
integrity sha512-61Hi0+sBaxkJhcBuUaoDh91K8gJ3BjPHMorb8UdHmeluxUc9ZBGlYPd6ZxITuJhyv9D8JE32LthfWxyBITdUXQ==
"@types/ps-tree@^1.1.0":
version "1.1.0"
resolved "https://nexus.loafle.net/repository/npm-all/@types/ps-tree/-/ps-tree-1.1.0.tgz#7e2034e8ccdc16f6b0ced7a88529ebcb3b1dc424"
integrity sha512-rm5GU5sefQpg2d/DQ+fMDZnl9aPiJjJ9FYA12isIocNTZqu9VDZRgCRBx3oYFEdmDpmPmY4hxxmY/+1a84Rtzg==
"@types/q@^0.0.32":
version "0.0.32"
resolved "https://nexus.loafle.net/repository/npm-all/@types/q/-/q-0.0.32.tgz#bd284e57c84f1325da702babfc82a5328190c0c5"