support cookies, but with bugs
This commit is contained in:
@@ -5,6 +5,7 @@ import { ref } from 'vue'
|
||||
|
||||
export interface Settings {
|
||||
download_path: string
|
||||
cookies_path?: string
|
||||
theme: 'light' | 'dark' | 'system'
|
||||
last_updated: string | null
|
||||
}
|
||||
@@ -12,6 +13,7 @@ export interface Settings {
|
||||
export const useSettingsStore = defineStore('settings', () => {
|
||||
const settings = ref<Settings>({
|
||||
download_path: '',
|
||||
cookies_path: '',
|
||||
theme: 'system',
|
||||
last_updated: null
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user