🚚 tauri-genshin → Teyvat Guide

This commit is contained in:
BTMuli
2023-09-15 17:19:33 +08:00
parent f907c798bc
commit a7dd069930
9 changed files with 33 additions and 54 deletions

View File

@@ -30,9 +30,9 @@ const theme = ref<string>(appStore.theme);
onBeforeMount(async () => {
// 获取当前窗口
const win = window.getCurrent();
isMain.value = win.label === "tauri-genshin";
isMain.value = win.label === "TeyvatGuide";
if (isMain.value) {
const title = "Tauri.Genshin v" + (await app.getVersion()) + " Beta";
const title = "Teyvat Guide v" + (await app.getVersion()) + " Beta";
await win.setTitle(title);
await emojiLoad();
await checkLoad();