Skip to content

Commit

Permalink
Added change to deal with special characters being included in redire…
Browse files Browse the repository at this point in the history
…cted file.
  • Loading branch information
Leland Johnson authored and Leland Johnson committed Jan 13, 2018
1 parent 1ad9f75 commit 906f6fa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Unreal/Environments/Blocks/GenerateProjectFiles.bat
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
setlocal
del /q gen_temp.txt
powershell -command "& { (Get-ItemProperty 'Registry::HKEY_CLASSES_ROOT\Unreal.ProjectFile\shell\rungenproj' -Name 'Icon' ).'Icon' } > gen_temp.txt"
powershell -command "& { (Get-ItemProperty 'Registry::HKEY_CLASSES_ROOT\Unreal.ProjectFile\shell\rungenproj' -Name 'Icon' ).'Icon' } > gen_temp.tmp"
type gen_temp.tmp > gen_temp.txt
set /p gen_bin=<gen_temp.txt
del /q gen_temp.txt
rem del /q gen_temp.tmp
rem del /q gen_temp.txt
for %%f in (*.uproject) do (
echo Generating files for %%f
%gen_bin% /projectfiles "%cd%\%%f"
Expand Down

0 comments on commit 906f6fa

Please sign in to comment.