[fix] linting errors
All checks were successful
Dependabot Auto-merge / dependabot (pull_request) Has been skipped
All checks were successful
Dependabot Auto-merge / dependabot (pull_request) Has been skipped
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user