diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-01-04 21:37:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-01-04 21:45:29 +0300 |
commit | 22bf37caec833bf38387a3a9f2d42bf3ea9bb3f4 (patch) | |
tree | 4d6e03a6bb5daa9fe3c1d769e783238b2649b010 | |
parent | 11b1348fd4b52a35851a03a9c50bd962e385a6a9 (diff) | |
download | manaverse-22bf37caec833bf38387a3a9f2d42bf3ea9bb3f4.tar.gz manaverse-22bf37caec833bf38387a3a9f2d42bf3ea9bb3f4.tar.bz2 manaverse-22bf37caec833bf38387a3a9f2d42bf3ea9bb3f4.tar.xz manaverse-22bf37caec833bf38387a3a9f2d42bf3ea9bb3f4.zip |
Add shortcut to start client in testing mode.
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | manaplustest.desktop | 17 | ||||
-rw-r--r-- | packaging/windows/setup.nsi | 5 |
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" |