From d5d6cea84c1f1a169f342dd60d30c2bcc7cee98c Mon Sep 17 00:00:00 2001 From: Matthew Bowra-Dean Date: Fri, 12 Nov 2010 22:06:40 +1300 Subject: [PATCH] More Windows installer fixes --- packaging/windows/OpenRA.nsi | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packaging/windows/OpenRA.nsi b/packaging/windows/OpenRA.nsi index 12b514f8f3..53ca242793 100644 --- a/packaging/windows/OpenRA.nsi +++ b/packaging/windows/OpenRA.nsi @@ -97,8 +97,11 @@ Section "Client" Client "$OUTDIR\OpenRA.ico" "" "" "" "" !insertmacro MUI_STARTMENU_WRITE_END - SetOutPath "$INSTDIR\shaders" - File "${SRCDIR}\shaders\*.fx" + SetOutPath "$INSTDIR\cg" + File "${SRCDIR}\cg\*.fx" + SetOutPath "$INSTDIR\glsl" + File "${SRCDIR}\glsl\*.frag" + File "${SRCDIR}\glsl\*.vert" SectionEnd Section "Editor" Editor @@ -271,7 +274,8 @@ SectionEnd Function ${UN}Clean RMDir /r $INSTDIR\mods RMDir /r $INSTDIR\maps - RMDir /r $INSTDIR\shaders + RMDir /r $INSTDIR\cg + RMDir /r $INSTDIR\glsl Delete $INSTDIR\OpenRA.Game.exe Delete $INSTDIR\OpenRA.Utility.exe Delete $INSTDIR\OpenRA.Editor.exe