Persisted Scope
Ce contenu n’est pas encore disponible dans votre langue.
Save filesystem and asset scopes and restore them when the app is reopened.
Supported Platforms
This plugin requires a Rust version of at least 1.77.2
Platform | Level | Notes |
---|---|---|
windows | ||
linux | ||
macos | ||
android | ||
ios |
Setup
Install the persisted-scope plugin to get started.
-
Run the following command in the
src-tauri
folder to add the plugin to the project’s dependencies inCargo.toml
: -
Modify
lib.rs
to initialize the plugin:
Usage
After setup the plugin will automatically save and restore filesystem and asset scopes.
© 2024 Tauri Contributors. CC-BY / MIT