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"
---
Add `incognito` window configuration option
Add `incognito` window configuration option

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

Loading…
Cancel
Save