Revert "update banners to absolute paths"

This reverts commit c8b8f9309e.
This commit is contained in:
Lorenzo Lewis
2023-07-28 19:48:34 +01:00
parent c8b8f9309e
commit fa28ed881d
27 changed files with 93 additions and 93 deletions
+5 -5
View File
@@ -1,4 +1,4 @@
![plugin-store](https://github.com/tauri-apps/plugins-workspace/raw/v2/plugins/store/banner.png)
![plugin-store](banner.png)
Simple, persistent key-value store.
@@ -60,13 +60,13 @@ fn main() {
Afterwards all the plugin's APIs are available through the JavaScript guest bindings:
```javascript
import { Store } from '@tauri-apps/plugin-store';
import { Store } from "@tauri-apps/plugin-store";
const store = new Store('.settings.dat');
const store = new Store(".settings.dat");
await store.set('some-key', { value: 5 });
await store.set("some-key", { value: 5 });
const val = await store.get('some-key');
const val = await store.get("some-key");
assert(val, { value: 5 });
await store.save(); // this manually saves the store, otherwise the store is only saved when your app is closed