[fix] linting errors
All checks were successful
Dependabot Auto-merge / dependabot (pull_request) Has been skipped

This commit is contained in:
Purp1e
2025-03-13 00:30:41 +08:00
parent d7234ddae9
commit 8822dfb290
4 changed files with 14 additions and 11 deletions

View File

@@ -1,15 +1,16 @@
import { setValtioPath } from 'tauri-plugin-valtio';
import {appConfigDir} from '@tauri-apps/api/path'
import path from 'path';
// @ts-ignore
import path from "path"
import { appConfigDir } from "@tauri-apps/api/path"
import { setValtioPath } from "tauri-plugin-valtio"
async function init() {
const configDir = await appConfigDir()
const distDir = path.join(configDir, 'cstb')
await setValtioPath(distDir);
const distDir = path.join(configDir, "cstb")
await setValtioPath(distDir)
// console.log('init valtio', distDir);
}
init();
void init()
export const DEFAULT_STORE_CONFIG = {
saveOnChange: true,