From 7d8b00904a93d8360d39323cb8e0801280923594 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 8 Feb 2018 10:08:25 -0500 Subject: [PATCH] dont need to require electron --- src/services/desktopPlatformUtils.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/desktopPlatformUtils.service.ts b/src/services/desktopPlatformUtils.service.ts index 44798dc8..84508cda 100644 --- a/src/services/desktopPlatformUtils.service.ts +++ b/src/services/desktopPlatformUtils.service.ts @@ -115,7 +115,7 @@ export class DesktopPlatformUtilsService implements PlatformUtilsService { } getApplicationVersion(): string { - return (window as any).require('electron').remote.app.getVersion(); + return remote.app.getVersion(); } supportsU2f(win: Window): boolean {