[feat] added characterhub endpoint

This commit is contained in:
kwaroran
2023-05-10 20:31:17 +09:00
parent 3f997ee9b8
commit 59cc0b37b4
2 changed files with 95 additions and 58 deletions

View File

@@ -15,6 +15,7 @@ import { loadPlugins } from "./process/plugins";
import { alertError, alertStore } from "./alert";
import { checkDriverInit } from "./drive/drive";
import { hasher } from "./parser";
import { characterHubImport } from "./characterCards";
//@ts-ignore
export const isTauri = !!window.__TAURI__
@@ -266,6 +267,9 @@ export async function loadData() {
usingSw = false
}
checkOldDomain()
if(get(DataBase).didFirstSetup){
characterHubImport()
}
}
try {
await pargeChunks()