diff --git a/src-tauri/capabilities/default.json b/src-tauri/capabilities/default.json index 724be5d..f9c5413 100644 --- a/src-tauri/capabilities/default.json +++ b/src-tauri/capabilities/default.json @@ -9,6 +9,8 @@ "core:default", "opener:default", "fs:default", - "dialog:default" + "dialog:default", + "fs:allow-app-read-recursive", + "fs:allow-app-write-recursive" ] } \ No newline at end of file diff --git a/src/lib/components/Navigation.svelte b/src/lib/components/Navigation.svelte index cf0cbe6..5f21ec4 100644 --- a/src/lib/components/Navigation.svelte +++ b/src/lib/components/Navigation.svelte @@ -6,8 +6,15 @@ import { isNil } from 'es-toolkit';
- Dataset + Start + Dataset (null); diff --git a/src/routes/boot/+page.svelte b/src/routes/boot/+page.svelte index b760c67..57c6422 100644 --- a/src/routes/boot/+page.svelte +++ b/src/routes/boot/+page.svelte @@ -10,7 +10,7 @@ import { message, open } from '@tauri-apps/plugin-dialog'; import { readDir, readTextFile } from '@tauri-apps/plugin-fs'; afterNavigate(() => { - currentActivate.set('dataset'); + currentActivate.set('start'); }); async function loadDataset() { diff --git a/src/routes/create/+page.svelte b/src/routes/create/+page.svelte index 0587d2a..29ec523 100644 --- a/src/routes/create/+page.svelte +++ b/src/routes/create/+page.svelte @@ -10,7 +10,7 @@ import { readDir, writeTextFile } from '@tauri-apps/plugin-fs'; import { isNil } from 'es-toolkit'; afterNavigate(() => { - currentActivate.set('dataset'); + currentActivate.set('start'); }); let storePath = $state('');