Skip to content
Snippets Groups Projects
Commit 22bf37ca authored by Andrei Karas's avatar Andrei Karas
Browse files

Add shortcut to start client in testing mode.

parent 11b1348f
No related branches found
No related tags found
No related merge requests found
......@@ -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")
......
......@@ -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) \
......
[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;
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment