aboutsummaryrefslogtreecommitdiff
path: root/docs/DEVELOPMENT.md
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-03-27 17:58:26 +0200
committerGitHub <noreply@github.com>2023-03-27 15:58:26 +0000
commit12741098da937ab55d2e1292631217b3a21a3ffa (patch)
treea7dd4d84cfbd9d6bcfa1063ce1e9fa3f4fd502e1 /docs/DEVELOPMENT.md
parentcec86b682d68016e2142b27e7674d77807c3330c (diff)
downloadFlightCore-12741098da937ab55d2e1292631217b3a21a3ffa.tar.gz
FlightCore-12741098da937ab55d2e1292631217b3a21a3ffa.zip
fix: Address regression around persistent store (#227)
* fix: Pin tauri-plugin-store package to same commit Pin npm package to same commit as Rust crate * fix: Attempt using newest plugin store commit * fix: Perform explicit save to store on each change This seems to resolve the issue around no longer writing changes to store on close as now values are written on each change. * chore: Pin dependencies to specific commit Instead of tracking a branch, track a specific commit
Diffstat (limited to 'docs/DEVELOPMENT.md')
-rw-r--r--docs/DEVELOPMENT.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md
index 8dbb1cea..0eada12c 100644
--- a/docs/DEVELOPMENT.md
+++ b/docs/DEVELOPMENT.md
@@ -145,6 +145,7 @@ const persistentStore = new Store('flight-core-settings.json');
// Save change in persistent store
await persistentStore.set('northstar-release-canal', { value: "NorthstarReleasecandidate" });
+await persistentStore.save(); // explicit save to disk
// Grab Northstar release canal value from store if exists
var persistent_northstar_release_canal = (await persistentStore.get('northstar-release-canal')) as any;