Added button to trigger script

This commit is contained in:
kwaroran
2024-04-10 10:51:34 +09:00
parent 3d7d34334c
commit ff089e658f
4 changed files with 56 additions and 33 deletions

View File

@@ -30,6 +30,7 @@ import type { RisuModule } from "../process/modules";
import { listen } from '@tauri-apps/api/event'
import { registerPlugin } from '@capacitor/core';
import { language } from "src/lang";
import { startObserveDom } from "../observer";
//@ts-ignore
export const isTauri = !!window.__TAURI__
@@ -508,6 +509,7 @@ export async function loadData() {
}
loadedStore.set(true)
selectedCharID.set(-1)
startObserveDom()
saveDb()
} catch (error) {
alertError(`${error}`)