This commit is contained in:
crusader 2018-09-28 14:28:29 +09:00
parent ac59d35c26
commit 316b2d033d
3 changed files with 33 additions and 41 deletions

Binary file not shown.

View File

@ -3,10 +3,11 @@
"productName": "overFlow Network Scanner", "productName": "overFlow Network Scanner",
"copyright": "Copyright © 2016 LOAFLE", "copyright": "Copyright © 2016 LOAFLE",
"directories": { "directories": {
"buildResources": "electron/" "output": "./build/package"
}, },
"files": [ "files": [
"**/*", {
"filter": [
"!*.ts", "!*.ts",
"!*.code-workspace", "!*.code-workspace",
"!@overflow/", "!@overflow/",
@ -27,11 +28,16 @@
"!webpack.js", "!webpack.js",
"!yarn.lock" "!yarn.lock"
], ],
"from": "./build/dist",
"to": "."
},
"packages.json"
],
"asar": true, "asar": true,
"compression": "normal", "compression": "normal",
"npmRebuild": false, "npmRebuild": false,
"npmSkipBuildFromSource": false, "npmSkipBuildFromSource": false,
"artifactName": "${productName}[${env.WAVES_CONFIGURATION}]-${version}-${os}.${ext}", "artifactName": "${name}-${version}-${os}-${arch}.${ext}",
"linux": { "linux": {
"target": [ "target": [
{ {
@ -40,13 +46,6 @@
"x64", "x64",
"ia32" "ia32"
] ]
},
{
"target": "rpm",
"arch": [
"x64",
"ia32"
]
} }
], ],
"executableName": "overFlow-Network-Scanner", "executableName": "overFlow-Network-Scanner",
@ -55,9 +54,8 @@
"category": "Utility", "category": "Utility",
"extraFiles": [ "extraFiles": [
{ {
"from": "build/nrfjprog/unpacked/nrfjprog", "from": "config/build/linux/bin/probe-${os}-${arch}",
"to": ".", "to": "./bin"
"filter": "*.so*"
} }
] ]
}, },
@ -74,13 +72,6 @@
"afterInstall": "config/build/linux/after-install.tpl", "afterInstall": "config/build/linux/after-install.tpl",
"afterRemove": "config/build/linux/after-remove.tpl" "afterRemove": "config/build/linux/after-remove.tpl"
}, },
"rpm": {
"depends": [
"libpcap"
],
"afterInstall": "config/build/linux/after-install.tpl",
"afterRemove": "config/build/linux/after-remove.tpl"
},
"mac": { "mac": {
"category": "public.app-category.utilities", "category": "public.app-category.utilities",
"artifactName": "${productName}-${version}-${arch}.${ext}", "artifactName": "${productName}-${version}-${arch}.${ext}",

View File

@ -6,13 +6,14 @@
"email": "rnd@loafle.com", "email": "rnd@loafle.com",
"url": "https://www.loafle.com" "url": "https://www.loafle.com"
}, },
"homepage": "https://www.loafle.com",
"scripts": { "scripts": {
"postinstall": "yarn electron:builder:install-app-deps", "postinstall": "yarn electron:builder:install-app-deps",
"ng": "ng", "ng": "ng",
"start": "yarn start:electron:hmr", "start": "yarn start:electron:hmr",
"start:hmr": "ng serve --configuration hmr", "start:hmr": "ng serve --configuration hmr",
"start:electron:hmr": "npm-run-all -p start:hmr wait-on:build:main:dev", "start:electron:hmr": "npm-run-all -p start:hmr wait-on:build:main:dev",
"build": "ng build", "build": "cross-env NODE_ENV=production npm-run-all -s build:renderer:prod build:main:prod",
"build:renderer:dev": "cross-env NODE_ENV=development ng build --aot", "build:renderer:dev": "cross-env NODE_ENV=development ng build --aot",
"build:renderer:prod": "cross-env NODE_ENV=production ng build --prod", "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:dev": "cross-env NODE_ENV=development webpack --config config/webpack.config.main.js --progress --profile",
@ -22,7 +23,7 @@
"e2e": "ng e2e", "e2e": "ng e2e",
"wait-on:build:main:dev": "wait-on http-get://localhost:4200/ && yarn build:main:dev", "wait-on:build:main:dev": "wait-on http-get://localhost:4200/ && yarn build:main:dev",
"electron:builder:install-app-deps": "electron-builder install-app-deps", "electron:builder:install-app-deps": "electron-builder install-app-deps",
"electron:builder:linux": "yarn build && electron-builder build --linux" "electron:builder:linux": "cross-env NODE_ENV=production npm-run-all build && electron-builder build --linux"
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {