mirror of
https://github.com/BTMuli/TeyvatGuide.git
synced 2025-12-13 09:28:14 +08:00
🎨 调整 deep link 响应方式
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user