Merge pull request #10106 from Mailaender/nsis-section-polish
Polished the Windows installer
This commit is contained in:
@@ -70,6 +70,8 @@ Section "-Reg" Reg
|
|||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "Game" GAME
|
Section "Game" GAME
|
||||||
|
SectionIn RO
|
||||||
|
|
||||||
RMDir /r "$INSTDIR\mods"
|
RMDir /r "$INSTDIR\mods"
|
||||||
SetOutPath "$INSTDIR\mods"
|
SetOutPath "$INSTDIR\mods"
|
||||||
File /r "${SRCDIR}\mods\common"
|
File /r "${SRCDIR}\mods\common"
|
||||||
@@ -126,13 +128,11 @@ Section "Game" GAME
|
|||||||
File "${SRCDIR}\glsl\*.vert"
|
File "${SRCDIR}\glsl\*.vert"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
SectionGroup /e "Settings"
|
Section "Desktop Shortcut" DESKTOPSHORTCUT
|
||||||
Section "Desktop Shortcut" DESKTOPSHORTCUT
|
SetOutPath "$INSTDIR"
|
||||||
SetOutPath "$INSTDIR"
|
CreateShortCut "$DESKTOP\OpenRA.lnk" $INSTDIR\OpenRA.exe "" \
|
||||||
CreateShortCut "$DESKTOP\OpenRA.lnk" $INSTDIR\OpenRA.exe "" \
|
"$INSTDIR\OpenRA.exe" "" "" "" ""
|
||||||
"$INSTDIR\OpenRA.exe" "" "" "" ""
|
SectionEnd
|
||||||
SectionEnd
|
|
||||||
SectionGroupEnd
|
|
||||||
|
|
||||||
;***************************
|
;***************************
|
||||||
;Dependency Sections
|
;Dependency Sections
|
||||||
|
|||||||
Reference in New Issue
Block a user