Fix working directory of AutoHotKey scripts

This commit is contained in:
Manuel Thalmann 2023-07-18 00:07:41 +02:00
parent 6a5f30a69f
commit 1b22a4063c
2 changed files with 2 additions and 0 deletions

View file

@ -16,4 +16,5 @@ InstallGameHub()
Run("pwsh -c Stop-Process -Force ".pid) Run("pwsh -c Stop-Process -Force ".pid)
} }
SetWorkingDir(A_InitialWorkingDir)
InstallGameHub() InstallGameHub()

View file

@ -15,4 +15,5 @@ InstallGhost()
Sleep(10 * 1000) Sleep(10 * 1000)
} }
SetWorkingDir(A_InitialWorkingDir)
InstallGhost() InstallGhost()