mirror of
https://github.com/bitwarden/browser
synced 2026-02-04 10:43:47 +00:00
Add to Electron
This commit is contained in:
@@ -18,5 +18,12 @@ export class ChromiumImporterService {
|
||||
return await chromium_importer.importLogins(browser, profileId);
|
||||
},
|
||||
);
|
||||
|
||||
ipcMain.handle(
|
||||
"chromium_importer.configureWindowsCryptoService",
|
||||
async (event, adminExePath: string) => {
|
||||
return await chromium_importer.configureWindowsCryptoService(adminExePath);
|
||||
},
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7,6 +7,8 @@ const chromiumImporter = {
|
||||
ipcRenderer.invoke("chromium_importer.getAvailableProfiles", browser),
|
||||
importLogins: (browser: string, profileId: string): Promise<any[]> =>
|
||||
ipcRenderer.invoke("chromium_importer.importLogins", browser, profileId),
|
||||
configureWindowsCryptoService: (adminExePath: string): Promise<void> =>
|
||||
ipcRenderer.invoke("chromium_importer.configureWindowsCryptoService", adminExePath),
|
||||
};
|
||||
|
||||
export default {
|
||||
|
||||
Reference in New Issue
Block a user