fix(persisted-scope): Prevent out-of-memory issues, fixes #274 (#328)

* fix(persisted-scope): Unescape paths before saving to disk.

* fix cfg flags

* dedupe code

* unescape when reading to try to fix existing files

* add more patterns. only fix pattern on app start. don't check if pattern is allowed already.

* remove dbg log

* typo

* remove unused imports

* clippy

* fix compilation with asset-protocol feature flag enabled

* update patterns

* manually re-save state once

* add changefile

* remove dbg print
This commit is contained in:
Fabian-Lars
2023-04-26 12:37:23 +02:00
committed by GitHub
parent 8e5dead7d3
commit ebb2eb2fe2
4 changed files with 75 additions and 29 deletions
Generated
+1
View File
@@ -4368,6 +4368,7 @@ dependencies = [
name = "tauri-plugin-persisted-scope"
version = "0.1.0"
dependencies = [
"aho-corasick",
"bincode",
"log",
"serde",