From 8140e3e5ab6207417f965ad87a552e5ad8f2279c Mon Sep 17 00:00:00 2001 From: kxrn_gupta <83299258+karan5028ji@users.noreply.github.com> Date: Fri, 9 Oct 2026 17:50:30 +0530 Subject: [PATCH] docs(persisted-scope): document protocol-asset feature flag (#3676) --- plugins/persisted-scope/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/plugins/persisted-scope/README.md b/plugins/persisted-scope/README.md index c6a2bb888..7a310ebf7 100644 --- a/plugins/persisted-scope/README.md +++ b/plugins/persisted-scope/README.md @@ -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.