From 99f76f61bd7a0cbaeab7ae08754cc60065878fd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sindre=20=C3=98strem?= Date: Fri, 20 Dec 2024 16:11:49 +0100 Subject: [PATCH] dir fix --- src/tauri-store/setting-store.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tauri-store/setting-store.ts b/src/tauri-store/setting-store.ts index 22e6eb2..d40bd25 100644 --- a/src/tauri-store/setting-store.ts +++ b/src/tauri-store/setting-store.ts @@ -1,8 +1,8 @@ -import { load, Store } from '@tauri-apps/plugin-store'; -import { AuthenticationResponse } from '../model/authentication-response.ts'; -import { documentDir, sep } from '@tauri-apps/api/path'; +import {load, Store} from '@tauri-apps/plugin-store'; +import {AuthenticationResponse} from '../model/authentication-response.ts'; +import {documentDir, sep} from '@tauri-apps/api/path'; -const defaultScannerPath = documentDir() + sep() + 'trokk' + sep() + 'files'; +const defaultScannerPath = await documentDir() + sep() + 'trokk' + sep() + 'files'; class SettingStore { private static instance: SettingStore;