Fix: App Pin & Downloads (Filesystem Changes)

This commit is contained in:
Youwes09
2026-06-05 17:42:32 -05:00
parent 8aa92e6b54
commit 5dfbc80bbe
16 changed files with 577 additions and 490 deletions
+5 -1
View File
@@ -40,7 +40,11 @@ export class TauriAdapter implements PlatformAdapter {
async loadStore(key: string): Promise<unknown> {
try {
return await invoke<unknown>('load_store', { key })
const raw = await invoke<unknown>('load_store', { key })
if (typeof raw === 'string') {
try { return JSON.parse(raw) } catch { return null }
}
return raw
} catch {
return null
}