dont need to require electron

This commit is contained in:
Kyle Spearrin 2018-02-08 10:08:25 -05:00
parent a92424da36
commit 7d8b00904a
1 changed files with 1 additions and 1 deletions

View File

@ -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 {