From dc813b8edbd578c8b03d7dc8a9d256d2603dc80e Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sat, 2 Mar 2019 15:34:18 +0100 Subject: [PATCH] windows fix --- terminus-core/src/services/touchbar.service.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terminus-core/src/services/touchbar.service.ts b/terminus-core/src/services/touchbar.service.ts index b93a16ea..3545a095 100644 --- a/terminus-core/src/services/touchbar.service.ts +++ b/terminus-core/src/services/touchbar.service.ts @@ -20,6 +20,9 @@ export class TouchbarService { private electron: ElectronService, private zone: NgZone, ) { + if (this.hostApp.platform !== Platform.macOS) { + return + } app.tabsChanged$.subscribe(() => this.update()) app.activeTabChange$.subscribe(() => this.update()) app.tabOpened$.subscribe(tab => {