Marc Garcia Puig 2018-08-02 16:10:46 +02:00
parent e412bb93ec
commit 5df4bb920c
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ rem
set KEY_NAME="HKEY_LOCAL_MACHINE\SOFTWARE\EpicGames\Unreal Engine\%UE_VERSION%" set KEY_NAME="HKEY_LOCAL_MACHINE\SOFTWARE\EpicGames\Unreal Engine\%UE_VERSION%"
set VALUE_NAME=InstalledDirectory set VALUE_NAME=InstalledDirectory
for /f "usebackq tokens=3*" %%A in (`reg query %KEY_NAME% /v %VALUE_NAME%`) do set UE4_ROOT=%%A%%B for /f "usebackq tokens=3*" %%A in (`reg query %KEY_NAME% /v %VALUE_NAME% /reg:64`) do set UE4_ROOT=%%A %%B
if not defined UE4_ROOT goto error_unreal_no_found if not defined UE4_ROOT goto error_unreal_no_found
rem Set packaging paths rem Set packaging paths

View File

@ -62,7 +62,7 @@ echo %FILE_N% Install directory: "%INSTALLATION_DIR%"
if not exist "%CONTENT_DIR%" ( if not exist "%CONTENT_DIR%" (
echo %FILE_N% Creating "%CONTENT_DIR%" folder... echo %FILE_N% Creating "%CONTENT_DIR%" folder...
mkdir "%CONTENT_DIR%"" mkdir "%CONTENT_DIR%"
) )
if not exist "%INSTALLATION_DIR%" ( if not exist "%INSTALLATION_DIR%" (