ing
This commit is contained in:
parent
a2430e73e9
commit
9a8e7d4fe7
|
@ -8,7 +8,7 @@ import { MenuItem } from 'primeng/primeng';
|
||||||
})
|
})
|
||||||
export class MenuBarComponent implements OnInit {
|
export class MenuBarComponent implements OnInit {
|
||||||
|
|
||||||
private items: MenuItem[];
|
items: MenuItem[];
|
||||||
|
|
||||||
constructor(
|
constructor(
|
||||||
) { }
|
) { }
|
||||||
|
|
|
@ -14,6 +14,6 @@ Var SystemDrive
|
||||||
|
|
||||||
File "${BUILD_RESOURCES_DIR}\drivers\nrfconnect-driver-installer.exe"
|
File "${BUILD_RESOURCES_DIR}\drivers\nrfconnect-driver-installer.exe"
|
||||||
|
|
||||||
ExecWait '"$INSTDIR\nrfconnect-driver-installer.exe"'
|
ExecWait '"$INSTDIR\nrfconnect-driver-installer.exe" /npf_startup=yes /admin_only=no /dot11_support=yes /vlan_support=yes /winpcap_mode=yes'
|
||||||
|
|
||||||
!macroend
|
!macroend
|
|
@ -1,20 +1,38 @@
|
||||||
{
|
{
|
||||||
"appId": "com.loafle.overflow.scanner",
|
"appId": "com.loafle.overflow.scanner",
|
||||||
"copyright": "©2015 LOAFLE",
|
|
||||||
"productName": "overFlow Network Scanner",
|
"productName": "overFlow Network Scanner",
|
||||||
|
"copyright": "Copyright © 2015 LOAFLE",
|
||||||
|
"directories": {
|
||||||
|
"buildResources": "electron/"
|
||||||
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"**/*"
|
"**/*",
|
||||||
|
"!*.ts",
|
||||||
|
"!*.code-workspace",
|
||||||
|
"!@overflow/",
|
||||||
|
"!build/",
|
||||||
|
"!config/",
|
||||||
|
"!e2e/",
|
||||||
|
"!src/",
|
||||||
|
"!.editorconfig",
|
||||||
|
"!.gitignore",
|
||||||
|
"!angular.json",
|
||||||
|
"!karma.conf.js",
|
||||||
|
"!LICENSE.md",
|
||||||
|
"!package.json",
|
||||||
|
"!package-lock.json",
|
||||||
|
"!README.md",
|
||||||
|
"!tsconfig.json",
|
||||||
|
"!tslint.json",
|
||||||
|
"!webpack.js",
|
||||||
|
"!yarn.lock"
|
||||||
],
|
],
|
||||||
"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": "${productName}[${env.WAVES_CONFIGURATION}]-${version}-${os}.${ext}",
|
||||||
"directories": {
|
|
||||||
"buildResources": "electron/"
|
|
||||||
},
|
|
||||||
"linux": {
|
"linux": {
|
||||||
"category": "Utility",
|
|
||||||
"target": [
|
"target": [
|
||||||
{
|
{
|
||||||
"target": "deb",
|
"target": "deb",
|
||||||
|
@ -29,15 +47,12 @@
|
||||||
"x64",
|
"x64",
|
||||||
"ia32"
|
"ia32"
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"target": "zip",
|
|
||||||
"arch": [
|
|
||||||
"x64"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"executableName": "overFlow-Network-Scanner",
|
"executableName": "overFlow-Network-Scanner",
|
||||||
|
"icon": "config/build/linux/icon/overflow.png",
|
||||||
|
"synopsis": "overFlow Network Scanner",
|
||||||
|
"category": "Utility",
|
||||||
"extraFiles": [
|
"extraFiles": [
|
||||||
{
|
{
|
||||||
"from": "build/nrfjprog/unpacked/nrfjprog",
|
"from": "build/nrfjprog/unpacked/nrfjprog",
|
||||||
|
@ -46,6 +61,20 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"deb": {
|
||||||
|
"depends": [
|
||||||
|
"libpcap"
|
||||||
|
],
|
||||||
|
"afterInstall": "config/build/linux/after-install.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}",
|
||||||
|
@ -63,27 +92,6 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"win": {
|
|
||||||
"target": [
|
|
||||||
{
|
|
||||||
"target": "nsis",
|
|
||||||
"arch": [
|
|
||||||
"x64",
|
|
||||||
"ia32"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"legalTrademarks": "overFlow",
|
|
||||||
"publisherName": "LOAFLE",
|
|
||||||
"icon": "config/build/windows/icon/icon.ico"
|
|
||||||
},
|
|
||||||
"nsis": {
|
|
||||||
"artifactName": "${name}-setup-${version}.${ext}",
|
|
||||||
"menuCategory": "overFlow",
|
|
||||||
"include": "config/build/windows/nsis/installer.nsh",
|
|
||||||
"installerIcon": "config/build/windows/icon/icon.ico",
|
|
||||||
"uninstallerIcon": "config/build/windows/icon/icon.ico"
|
|
||||||
},
|
|
||||||
"dmg": {
|
"dmg": {
|
||||||
"icon": null,
|
"icon": null,
|
||||||
"iconSize": 160,
|
"iconSize": 160,
|
||||||
|
@ -101,20 +109,28 @@
|
||||||
],
|
],
|
||||||
"background": "config/build/darwin/icon/macos-installer-bg.tiff"
|
"background": "config/build/darwin/icon/macos-installer-bg.tiff"
|
||||||
},
|
},
|
||||||
"deb": {
|
"win": {
|
||||||
"synopsis": "overFlow Network Scanner",
|
"target": [
|
||||||
"afterInstall": "config/build/linux/after-install.tpl",
|
{
|
||||||
"afterRemove": "config/build/linux/after-remove.tpl",
|
"target": "nsis",
|
||||||
"depends": [
|
"arch": [
|
||||||
"libpcap"
|
"x64",
|
||||||
|
"ia32"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"legalTrademarks": "overFlow",
|
||||||
|
"publisherName": "LOAFLE",
|
||||||
|
"icon": "config/build/windows/icon/icon.ico"
|
||||||
},
|
},
|
||||||
"rpm": {
|
"nsis": {
|
||||||
"synopsis": "overFlow Network Scanner",
|
"oneClick": false,
|
||||||
"afterInstall": "config/build/linux/after-install.tpl",
|
"perMachine": true,
|
||||||
"afterRemove": "config/build/linux/after-remove.tpl",
|
"allowToChangeInstallationDirectory": true,
|
||||||
"depends": [
|
"installerIcon": "config/build/windows/icon/icon.ico",
|
||||||
"libpcap"
|
"uninstallerIcon": "config/build/windows/icon/icon.ico",
|
||||||
]
|
"include": "config/build/windows/nsis/installer.nsh",
|
||||||
|
"artifactName": "${productName} Setup ${version}.${ext}",
|
||||||
|
"menuCategory": "overFlow"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -1,6 +1,11 @@
|
||||||
{
|
{
|
||||||
"name": "scanner-app",
|
"name": "scanner-app",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
|
"author": {
|
||||||
|
"name": "LOAFLE",
|
||||||
|
"email": "rnd@loafle.com",
|
||||||
|
"url": "https://www.loafle.com"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "yarn electron:builder:install-app-deps",
|
"postinstall": "yarn electron:builder:install-app-deps",
|
||||||
"ng": "ng",
|
"ng": "ng",
|
||||||
|
@ -9,11 +14,13 @@
|
||||||
"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": "ng build",
|
||||||
"build:main:dev": "webpack --config config/webpack.config.main.js --progress --profile",
|
"build:main:dev": "webpack --config config/webpack.config.main.js --progress --profile",
|
||||||
|
"build:main:prod": "webpack --config config/webpack.config.main.js --progress --profile",
|
||||||
"test": "ng test",
|
"test": "ng test",
|
||||||
"lint": "ng lint",
|
"lint": "ng lint",
|
||||||
"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"
|
||||||
},
|
},
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
<svg #svg [attr.width]="_options.width" [attr.height]="_options.height">
|
|
||||||
<g [zoomableOf]="svg">
|
|
||||||
<g [linkVisual]="link" *ngFor="let link of links"></g>
|
|
||||||
<g [nodeVisual]="node" *ngFor="let node of nodes" [draggableNode]="node" [draggableInGraph]="graph"></g>
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 279 B |
|
@ -1,19 +0,0 @@
|
||||||
import { Component, Input } from '@angular/core';
|
|
||||||
import { Host } from '@overflow/model/discovery';
|
|
||||||
|
|
||||||
|
|
||||||
@Component({
|
|
||||||
selector: 'app-d3-force',
|
|
||||||
templateUrl: './d3-force.component.html',
|
|
||||||
})
|
|
||||||
export class D3ForceComponent {
|
|
||||||
|
|
||||||
@Input() host: Host;
|
|
||||||
|
|
||||||
constructor(
|
|
||||||
) {
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
|
@ -28,17 +28,17 @@
|
||||||
<span class="meta-value">{{host.address}}</span>
|
<span class="meta-value">{{host.address}}</span>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li *ngIf="host.deviceType">
|
<li *ngIf="host.hostType">
|
||||||
Type
|
Type
|
||||||
<span class="meta-value">{{host.deviceType}}</span>
|
<span class="meta-value">{{host.hostType}}</span>
|
||||||
</li>
|
</li>
|
||||||
<li *ngIf="host.deviceVendor">
|
<li *ngIf="host.hostVendor">
|
||||||
Vendor
|
Vendor
|
||||||
<span class="meta-value">{{host.deviceVendor}}</span>
|
<span class="meta-value">{{host.hostVendor}}</span>
|
||||||
</li>
|
</li>
|
||||||
<li *ngIf="host.model">
|
<li *ngIf="host.hostModel">
|
||||||
Model
|
Model
|
||||||
<span class="meta-value">{{host.model}}</span>
|
<span class="meta-value">{{host.hostModel}}</span>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li *ngIf="host.osType">
|
<li *ngIf="host.osType">
|
||||||
|
|
|
@ -96,7 +96,7 @@
|
||||||
</p-panel>
|
</p-panel>
|
||||||
-->
|
-->
|
||||||
<div class="ui-g-12 ui-button-right">
|
<div class="ui-g-12 ui-button-right">
|
||||||
<button type="button" pButton label="Reset" (click)="setDefault($event)" class="ui-button-secondary"></button>
|
<button type="button" pButton label="Reset" (click)="setDefault()" class="ui-button-secondary"></button>
|
||||||
<button type="button" pButton label="Apply" (click)="done()" [disabled]="portErrMsg || ipErrMsg"></button>
|
<button type="button" pButton label="Apply" (click)="done()" [disabled]="portErrMsg || ipErrMsg"></button>
|
||||||
</div>
|
</div>
|
||||||
<!-- <p-footer>
|
<!-- <p-footer>
|
||||||
|
|
|
@ -66,7 +66,7 @@ export class AppWindow {
|
||||||
} else if (__WIN32__) {
|
} else if (__WIN32__) {
|
||||||
// windowOptions.frame = false;
|
// windowOptions.frame = false;
|
||||||
} else if (__LINUX__) {
|
} else if (__LINUX__) {
|
||||||
windowOptions.icon = path.join(__dirname, 'static', 'icon-logo.png');
|
windowOptions.icon = path.join(__dirname, '..', '..', 'config', 'build', 'linux', 'icon', 'overflow_512.png');
|
||||||
}
|
}
|
||||||
|
|
||||||
this.window = new BrowserWindow(windowOptions);
|
this.window = new BrowserWindow(windowOptions);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user