1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-07 12:13:45 +00:00
This commit is contained in:
Bernd Schoolmann
2025-09-04 22:17:41 +02:00
parent 0ced588efe
commit b6f6443e95

View File

@@ -33,9 +33,10 @@ export class MainBiometricsService extends DesktopBiometricsService {
private loadNativeBiometricsModuleV1() {
this.logService.info("[BiometricsMain] Loading native biometrics module v1");
if (this.platform === "win32") {
// eslint-disable-next-line
/* eslint-disable */
const OsBiometricsServiceWindows =
require("./native-v1/os-biometrics-windows.service").default;
/* eslint-enable */
this.osBiometricsService = new OsBiometricsServiceWindows(this.i18nService, this.windowMain);
} else if (this.platform === "darwin") {
// eslint-disable-next-line