Skip to content

Commit

Permalink
适配国际服app标题名不一致
Browse files Browse the repository at this point in the history
  • Loading branch information
UCPr251 committed Jul 26, 2024
1 parent 6f60f8c commit 3e2fc48
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion components/common.ahk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** 激活绝区零窗口 */
activateZZZ() {
try {
WinActivate("绝区零 ahk_class UnityWndClass")
WinActivate("ahk_exe ZenlessZoneZero.exe ahk_class UnityWndClass")
RandomSleep()
} catch {
MsgBox("【错误】未找到绝区零窗口,请进入游戏后重试", "错误", "Iconx")
Expand Down
1 change: 0 additions & 1 deletion 零号业绩.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ CoordMode("Mouse", "Window")
CoordMode("Pixel", "Window")
SendMode("Input")
#SingleInstance Force
SetTitleMatchMode(2)
#WinActivateForce
SetControlDelay(1)
SetWinDelay(0)
Expand Down

0 comments on commit 3e2fc48

Please sign in to comment.