Browse Source

update wrapper for stardew valley

master
Mar Alegre 1 year ago
parent
commit
50b9fed755
  1. 9
      lib/Wrapper.ahk
  2. 3
      src/Stardew Valley.ahk

9
lib/Wrapper.ahk

@ -8,9 +8,14 @@ CheckWinExist(Window) {
} }
} }
; TitleMatchMode can be set, but defaults to 3 if not set
if (!IsSet(WrapperTitleMatchMode)) {
WrapperTitleMatchMode:=3
}
Run WrapperPath Run WrapperPath
SetTitleMatchMode 3 SetTitleMatchMode WrapperTitleMatchMode
WinWait WrapperWindow,,600 WinWait WrapperWindow,,300
; Check if window exists once per second ; Check if window exists once per second
SetTimer CheckWinExist.Bind(WrapperWindow), 1000 SetTimer CheckWinExist.Bind(WrapperWindow), 1000

3
src/Stardew Valley.ahk

@ -8,7 +8,8 @@
; Make this a wrapper script ; Make this a wrapper script
WrapperPath:="steam://rungameid/413150" WrapperPath:="steam://rungameid/413150"
WrapperWindow:="Stardew Valley" WrapperTitleMatchMode:=2
WrapperWindow:="Stardew Valley 1.6.3 - running SMAPI"
#Include "../lib/Wrapper.ahk" #Include "../lib/Wrapper.ahk"
; ;

Loading…
Cancel
Save