summaryrefslogtreecommitdiff
path: root/packaging/windows/setup.nsi
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/windows/setup.nsi')
-rw-r--r--packaging/windows/setup.nsi17
1 files changed, 17 insertions, 0 deletions
diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi
index f5ca57644..1c159c7cd 100644
--- a/packaging/windows/setup.nsi
+++ b/packaging/windows/setup.nsi
@@ -398,6 +398,23 @@ SectionEnd
; File "${EXEDIR}\dyecmd.exe"
; SectionEnd
+Section "Evol Online shortcuts" SecEvol
+ SetOutPath "$INSTDIR"
+ CreateDirectory "$INSTDIR\data\evol"
+ CreateDirectory "$INSTDIR\data\evol\icons"
+ CreateDirectory "$INSTDIR\data\evol\images"
+
+ SetOutPath "$INSTDIR"
+ File "${SRCDIR}\data\evol\evol.manaplus"
+ SetOutPath "$INSTDIR\data\evol\images"
+ File "${SRCDIR}\data\evol\images\*.png"
+ SetOutPath "$INSTDIR\data\evol\icons"
+ File "${SRCDIR}\data\evol\icons\*.ico"
+
+ CreateShortCut "$SMPROGRAMS\Mana\EvolOnline.lnk" '"$INSTDIR\manaplus.exe"' '"$INSTDIR\evol.manaplus"' "$INSTDIR\manaplus.exe" 1
+ CreateShortCut "$DESKTOP\EvolOnline.lnk" '"$INSTDIR\manaplus.exe"' '"$INSTDIR\evol.manaplus"' "$INSTDIR\manaplus.exe" 1
+SectionEnd
+
Section "Translations" SecTrans
SetOutPath "$INSTDIR"
File /nonfatal /r "${SRCDIR}\translations"