Agent menu (#540)

* Add generate version module script

* Remove Fork me on GitHub banner

* Add app-version.ts

* Revert "Add app-version.ts"

This reverts commit fe1a37e631.

* Add app-version.ts

* Add agent icon class

* Move settings component under agent folder

* Add AboutComponent

* Add agent routes

* Add index.ts for agent folder

* Fix agent folder imports in shared module

* Add agent menu to side menu, with Settings and About pages under it

* Fix agent icon alignment in side menu

* Simplify About page

* Make Agent menu 0 level in side menu

* Remove bottom Settings menu

* Fix Agent menu closing if My UHK is closed in side menu

* Fix version text alignment in auto update settings

* Remove github fork ribbon styles

* use package.json instead of app-version.ts

* fix OpenUrlInNewWindow naming

* fix lint request

* fix: firmware download url calculation
This commit is contained in:
Mikko Lakomaa
2018-01-13 17:10:21 +01:00
committed by László Monda
parent fdcf64d5c6
commit 3ee6c680a1
34 changed files with 199 additions and 137 deletions
@@ -26,6 +26,11 @@ export class AppRendererService {
this.ipcRenderer.send(IpcEvents.app.exit);
}
openUrl(url: string): void {
this.logService.info(`[AppRendererService] open url: ${url}`);
this.ipcRenderer.send(IpcEvents.app.openUrl, url);
}
private registerEvents() {
this.ipcRenderer.on(IpcEvents.app.getAppStartInfoReply, (event: string, arg: AppStartInfo) => {
this.dispachStoreAction(new ProcessAppStartInfoAction(arg));