diff --git a/examples/api/index.html b/examples/api/index.html
index 919cfd2a..655165ea 100644
--- a/examples/api/index.html
+++ b/examples/api/index.html
@@ -4,7 +4,7 @@
Svelte + Vite App
diff --git a/examples/api/src-tauri/capabilities/base.json b/examples/api/src-tauri/capabilities/base.json
index 92532e7d..aa2a1fca 100644
--- a/examples/api/src-tauri/capabilities/base.json
+++ b/examples/api/src-tauri/capabilities/base.json
@@ -68,12 +68,18 @@
"fs:allow-rename",
"fs:allow-mkdir",
"fs:allow-remove",
+ "fs:allow-stat",
+ "fs:allow-fstat",
+ "fs:allow-lstat",
"fs:allow-write-text-file",
"fs:scope-download-recursive",
"fs:scope-resource-recursive",
{
"identifier": "fs:scope-appdata-recursive",
"allow": [
+ {
+ "path": "$APPDATA/db/"
+ },
{
"path": "$APPDATA/db/**"
}
diff --git a/examples/api/src/views/FileSystem.svelte b/examples/api/src/views/FileSystem.svelte
index f7222ef8..eabdfc46 100644
--- a/examples/api/src/views/FileSystem.svelte
+++ b/examples/api/src/views/FileSystem.svelte
@@ -1,178 +1,203 @@
+ {#if isMobile}
+
+ On mobile, paths outside of App* paths require the use of dialogs
+ regardless of Tauri's scope mechanism.
+
+
+ {/if}
{#if file}
+