mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
dont need to require electron
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user