From 9704cf751d0106b54a89fff4418fcc8dc5e8893c Mon Sep 17 00:00:00 2001 From: Dmitry Yakimenko Date: Mon, 22 Sep 2025 17:11:19 +0200 Subject: [PATCH] Remove async to remove the error/warning --- apps/desktop/desktop_native/napi/index.d.ts | 2 +- apps/desktop/desktop_native/napi/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/desktop/desktop_native/napi/index.d.ts b/apps/desktop/desktop_native/napi/index.d.ts index 9e66db9f340..6c53b95e0cc 100644 --- a/apps/desktop/desktop_native/napi/index.d.ts +++ b/apps/desktop/desktop_native/napi/index.d.ts @@ -231,7 +231,7 @@ export declare namespace chromium_importer { export function getInstalledBrowsers(): Array export function getAvailableProfiles(browser: string): Array export function importLogins(browser: string, profileId: string): Promise> - export function configureWindowsCryptoService(adminExePath: string): Promise + export function configureWindowsCryptoService(adminExePath: string): void } export declare namespace autotype { export function getForegroundWindowTitle(): string diff --git a/apps/desktop/desktop_native/napi/src/lib.rs b/apps/desktop/desktop_native/napi/src/lib.rs index 457cd63db98..aafe2234ec0 100644 --- a/apps/desktop/desktop_native/napi/src/lib.rs +++ b/apps/desktop/desktop_native/napi/src/lib.rs @@ -969,7 +969,7 @@ pub mod chromium_importer { } #[napi] - pub async fn configure_windows_crypto_service(admin_exe_path: String) { + pub fn configure_windows_crypto_service(admin_exe_path: String) { bitwarden_chromium_importer::chromium::configure_windows_crypto_service(&admin_exe_path) } }