Open
Description
Describe the bug
It creates snapshots on stronghold.save()
instead of having a persistent vault.hold
file to read from on second load.
Reproduction
Setup a default tauri project using the tauri cli. Then follow the stronghold docs add the plugin then the default stronghold code from the docs example.
Expected behavior
One vault.hold
file is created not a vault.hold.UIWWHUIEH
snapshot that is random every launch. That can't be re-read from.
Full tauri info
output
[✔] Environment
- OS: Windows 10.0.19045 x86_64 (X64)
✔ WebView2: 130.0.2849.80
✔ MSVC:
- Visual Studio Build Tools 2022
- Visual Studio Community 2022
✔ rustc: 1.82.0 (f6e511eec 2024-10-15)
✔ cargo: 1.82.0 (8f40fc59f 2024-08-21)
✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
✔ Rust toolchain: stable-x86_64-pc-windows-msvc (default)
- node: 20.9.0
- pnpm: 9.1.3
- npm: 10.2.4
[-] Packages
- tauri 🦀: 2.1.1
- tauri-build 🦀: 2.0.3
- wry 🦀: 0.47.1
- tao 🦀: 0.30.8
- @tauri-apps/api : 2.1.1
- @tauri-apps/cli : 2.1.0
[-] Plugins
- tauri-plugin-shell 🦀: 2.0.2
- @tauri-apps/plugin-shell : 2.0.1
- tauri-plugin-fs 🦀: 2.0.3
- @tauri-apps/plugin-fs : 2.0.2
- tauri-plugin-stronghold 🦀: 2.0.1
- @tauri-apps/plugin-stronghold : 2.0.0
- tauri-plugin-os 🦀: 2.0.1
- @tauri-apps/plugin-os : 2.0.0
[-] App
- build-type: bundle
- CSP: unset
- frontendDist: ../dist
- devUrl: http://localhost:1420/
- framework: React
- bundler: Rollup
Stack trace
No response
Additional context
No response