mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-10 09:59:48 +01:00
dont need to require electron
This commit is contained in:
parent
a92424da36
commit
7d8b00904a
@ -115,7 +115,7 @@ export class DesktopPlatformUtilsService implements PlatformUtilsService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getApplicationVersion(): string {
|
getApplicationVersion(): string {
|
||||||
return (window as any).require('electron').remote.app.getVersion();
|
return remote.app.getVersion();
|
||||||
}
|
}
|
||||||
|
|
||||||
supportsU2f(win: Window): boolean {
|
supportsU2f(win: Window): boolean {
|
||||||
|
Loading…
Reference in New Issue
Block a user