Return result in resolve_store_path

This commit is contained in:
Tony committed 2024-10-10 15:53:32 +08:00
1 parent c3748b39fe
commit d88fcb5c8a
4 files changed
+20 -46

No files matched your search

@@ -17,7 +17,7 @@ fn main() {
.plugin(tauri_plugin_store::Builder::new().build())
.setup(|app| {
// Init store and load it from disk
let store = app.store("settings.json");
let store = app.store("settings.json")?;
app.listen("store://change", |event| {
dbg!(event);
});