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 @@