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 {