From ed6bf05a595c3e08ecab2402ed07333bece56bf2 Mon Sep 17 00:00:00 2001 From: Leon Liu Date: Fri, 3 Jan 2025 13:06:53 +0900 Subject: [PATCH] update --- src-tauri/capabilities/default.json | 6 +- src/App.vue | 149 +++++++++++++++--------- src/components/FilterDetail.vue | 127 ++++++++++++-------- src/components/FilterNode.vue | 4 +- src/components/TreeNav.vue | 3 +- src/models/index.ts | 172 +++++++++++++++++++++++----- src/models/settings.ts | 21 +++- 7 files changed, 341 insertions(+), 141 deletions(-) diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 9da55ed..3621cca 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -8,9 +8,13 @@ "permissions": [ "core:default", "fs:default", + { + "identifier": "fs:scope", + "allow": [{ "path": "$DOCUMENT/My Games/Path of Exile 2" }, { "path": "$DOCUMENT/My Games/Path of Exile 2/**" }] + }, { "identifier": "fs:allow-write-text-file", - "allow": [{ "path": "$DOCUMENT/My Games/Path of Exile 2/*" }] + "allow": [ { "path": "$DOCUMENT/My Games/Path of Exile 2/*" }] } ] } \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index 4c95367..1794a28 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,16 +1,12 @@