summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--Makefile.am3
-rw-r--r--manaplustest.desktop17
-rw-r--r--packaging/windows/setup.nsi5
4 files changed, 25 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 74bd0169b..3259f04d6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,6 +55,7 @@ ENDIF()
If(UNIX)
INSTALL(FILES manaplus.desktop DESTINATION share/applications)
+ INSTALL(FILES manaplustest.desktop DESTINATION share/applications)
ENDIF()
SET(CPACK_PACKAGE_NAME "manaplus")
diff --git a/Makefile.am b/Makefile.am
index 6ef412c71..917a92036 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,7 +3,8 @@ SUBDIRS = data docs po src
desktopdir = $(datarootdir)/applications
-desktop_DATA = manaplus.desktop
+desktop_DATA = manaplus.desktop \
+ manaplustest.desktop
# Extra files to include
EXTRA_DIST = $(desktop_DATA) \
diff --git a/manaplustest.desktop b/manaplustest.desktop
new file mode 100644
index 000000000..d8cdc8e54
--- /dev/null
+++ b/manaplustest.desktop
@@ -0,0 +1,17 @@
+
+[Desktop Entry]
+Version=1.0
+Name=ManaPlus (Tests)
+Comment=A 2D MMORPG client
+Comment[fr]=Un jeu en ligne dans un univers fantastique
+Comment[de]=ein Online Fantasy Spiel
+Comment[it]=Un gioco fantasy online
+Comment[nl]=Een online role playing game
+Comment[sv]=Ett fantasyrollspel online
+Comment[ru]=Клиент к 2D MMORPG игре
+Exec=manaplus --tests
+StartupNotify=false
+Terminal=false
+Type=Application
+Icon=manaplus
+Categories=Game;AdventureGame;
diff --git a/packaging/windows/setup.nsi b/packaging/windows/setup.nsi
index 9767cf685..c3b34bc4c 100644
--- a/packaging/windows/setup.nsi
+++ b/packaging/windows/setup.nsi
@@ -331,7 +331,9 @@ Section "Create Shortcuts" SecShortcuts
CreateShortCut "$SMPROGRAMS\Mana\ManaPlus.lnk" "$INSTDIR\manaplus.exe"
CreateShortCut "$SMPROGRAMS\Mana\ManaPlus (no opengl).lnk" "$INSTDIR\manaplus.exe" --no-opengl
CreateShortCut "$SMPROGRAMS\Mana\ManaPlus (safemode).lnk" "$INSTDIR\manaplus.exe" --safemode
+ CreateShortCut "$SMPROGRAMS\Mana\ManaPlus (tests).lnk" "$INSTDIR\manaplus.exe" --tests
CreateShortCut "$DESKTOP\ManaPlus.lnk" "$INSTDIR\manaplus.exe"
+ CreateShortCut "$DESKTOP\ManaPlus (tests).lnk" "$INSTDIR\manaplus.exe" --tests
${registerExtension} "$INSTDIR\manaplus.exe" ".manaplus" "ManaPlus brandings"
SectionEnd
@@ -398,8 +400,11 @@ Section Uninstall
Delete "$SMPROGRAMS\Mana\Uninstall.lnk"
Delete "$DESKTOP\ManaPlus.lnk"
+ Delete "$DESKTOP\ManaPlus (tests).lnk"
Delete "$SMPROGRAMS\Mana\ManaPlus.lnk"
Delete "$SMPROGRAMS\Mana\ManaPlus (no opengl).lnk"
+ Delete "$SMPROGRAMS\Mana\ManaPlus (safemode).lnk"
+ Delete "$SMPROGRAMS\Mana\ManaPlus (tests).lnk"
Delete "$SMPROGRAMS\Mana\Website.lnk"
Delete "$SMPROGRAMS\Mana\Readme.lnk"
Delete "$SMPROGRAMS\Mana\FAQ.lnk"