mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-05-09 12:36:07 +02:00
Return result in resolve_store_path
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user