mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-10-10 22:38:44 +02:00
docs(persisted-scope): document protocol-asset feature flag (#3676)
This commit is contained in:
1 parent
46381516b7
commit
8140e3e5ab
1 file changed
+6
@@ -27,6 +27,8 @@ Install the Core plugin by adding the following to your `Cargo.toml` file:
|
||||
```toml
|
||||
[dependencies]
|
||||
tauri-plugin-persisted-scope = "2.0.0"
|
||||
# alternatively with the protocol-asset feature enabled:
|
||||
# tauri-plugin-persisted-scope = { version = "2.0.0", features = ["protocol-asset"] }
|
||||
# alternatively with Git:
|
||||
tauri-plugin-persisted-scope = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v2" }
|
||||
```
|
||||
@@ -48,6 +50,10 @@ fn main() {
|
||||
|
||||
Afterwards the plugin will automatically save and restore filesystem and asset scopes.
|
||||
|
||||
## Features
|
||||
|
||||
- `protocol-asset`: Enables saving and restoring custom asset protocol scopes (`tauri/protocol-asset`).
|
||||
|
||||
## Contributing
|
||||
|
||||
PRs accepted. Please make sure to read the Contributing Guide before making a pull request.
|
||||
|
||||
Reference in new issue
Block a user