diff --git a/scripts/install-helper-AIO.bat b/scripts/install-helper-AIO.bat index 41c01483..9ad92b34 100644 --- a/scripts/install-helper-AIO.bat +++ b/scripts/install-helper-AIO.bat @@ -41,9 +41,11 @@ if not "%GameDir%"=="" ( goto start_copy ) +echo %GameAppId% > "%SolutionDir%tools\steam_appid.txt" + for /f "delims=" %%a in ('"%SolutionDir%\tools\SteamAppsLocation" %GameAppId% InstallDir') do set OutputString=%%a -if %ERRORLEVEL% equ 0 ( +if not "%OutputString%"=="" ( set "GameDir=%OutputString%" goto start_copy ) diff --git a/tools/steam_appid.txt b/tools/steam_appid.txt deleted file mode 100644 index 2bbd69c2..00000000 --- a/tools/steam_appid.txt +++ /dev/null @@ -1 +0,0 @@ -70