fix(store): Use event module instead of appWindow, fixes #282 (#283)

* fix(store): Use event module instead of appWindow, fixes #282

* fmt
This commit is contained in:
Fabian-Lars
2023-03-15 18:22:19 +01:00
committed by GitHub
parent a4dfa62486
commit 9b70a79b2c
3 changed files with 19 additions and 24 deletions
+2
View File
@@ -64,7 +64,9 @@ await store.save(); // this manually saves the store, otherwise the store is onl
```
### Persisting values
Values added to the store are not persisted between application loads unless:
1. The application is closed gracefully (plugin automatically saves)
2. The store is manually saved (using `store.save()`)