pull/418/head
amrbashir 2 years ago
parent 6c674e1b21
commit a0cbb1c7d5
No known key found for this signature in database
GPG Key ID: BBD7A47A2003FF33

@ -2,4 +2,4 @@
"window-js": "minor" "window-js": "minor"
--- ---
Add `incognito` window configuration option Add `incognito` window configuration option

@ -436,10 +436,12 @@ export class Stronghold {
* @returns * @returns
*/ */
static async load(path: string, password: string): Promise<Stronghold> { static async load(path: string, password: string): Promise<Stronghold> {
return await window.__TAURI_INVOKE__("plugin:stronghold|initialize", { return await window
snapshotPath: path, .__TAURI_INVOKE__("plugin:stronghold|initialize", {
password, snapshotPath: path,
}).then(() => new Stronghold(path)); password,
})
.then(() => new Stronghold(path));
} }
/** /**

Loading…
Cancel
Save