🎨 调整 deep link 响应方式

This commit is contained in:
BTMuli
2023-10-08 23:42:30 +08:00
parent 96ab38b932
commit 6e79c0a7e0

View File

@@ -110,7 +110,7 @@ async function initData(): Promise<void> {
async function getDeepLink(): Promise<void> {
await event.listen("active_deep_link", (e) => {
new TauriWindow.WebviewWindow("TeyvatGuide")
.setFocus()
.show()
.then(async () => {
// 导入格式: teyvatguide://import_uigf?app=appName
// 跳转格式: localhost:4000/achievements/?app=appName