diff --git a/mk/linux/mojosetup/megaglest-installer/make.sh b/mk/linux/mojosetup/megaglest-installer/make.sh index 864f1733..4fc7dba8 100755 --- a/mk/linux/mojosetup/megaglest-installer/make.sh +++ b/mk/linux/mojosetup/megaglest-installer/make.sh @@ -1,4 +1,3 @@ - # This script is not robust for all platforms or situations. Use as a rough # example, but invest effort in what it's trying to do, and what it produces. # (make sure you don't build in features you don't need, etc). @@ -167,6 +166,7 @@ if [ $REPACKONLY -eq 0 ]; then find configuration.xml -exec cp -p --parents "{}" $INSTALLDATADIR ';' find megaglest.ico -exec cp -p --parents "{}" $INSTALLDATADIR ';' + find megaglest_uninstall.ico -exec cp -p --parents "{}" $INSTALLDATADIR ';' find g3dviewer.ico -exec cp -p --parents "{}" ${INSTALLDATADIR} ';' find editor.ico -exec cp -p --parents "{}" ${INSTALLDATADIR} ';' find data/ \( -name "*" \) -not \( -name .svn -prune \) -not \( -name "*~" -prune \) -not \( -name "*.bak" -prune \) -exec cp -p --parents "{}" $INSTALLDATADIR ';' diff --git a/mk/linux/mojosetup/megaglest-installer/scripts/config.lua b/mk/linux/mojosetup/megaglest-installer/scripts/config.lua index cbc87c39..27c4517e 100644 --- a/mk/linux/mojosetup/megaglest-installer/scripts/config.lua +++ b/mk/linux/mojosetup/megaglest-installer/scripts/config.lua @@ -1,4 +1,4 @@ -local GAME_INSTALL_SIZE = 510000000; +local GAME_INSTALL_SIZE = 680000000; local GAME_VERSION = "3.4.0"; local _ = MojoSetup.translate @@ -53,37 +53,49 @@ Setup.Package Setup.DesktopMenuItem { disabled = false, - name = _("MegaGlest"), + name = _("MegaGlest v" .. GAME_VERSION), genericname = _("MegaGlest"), tooltip = _("A real time strategy game."), builtin_icon = false, icon = "megaglest.ico", commandline = "%0/glest", - category = "Game" + category = "Game;StrategyGame" }, Setup.DesktopMenuItem { disabled = false, - name = _("MegaGlest Map Editor"), + name = _("MegaGlest Map Editor v" .. GAME_VERSION), genericname = _("MegaGlest"), tooltip = _("A real time strategy game."), builtin_icon = false, icon = "editor.ico", commandline = "%0/editor", - category = "Game" + category = "Game;StrategyGame" }, Setup.DesktopMenuItem { disabled = false, - name = _("MegaGlest G3D Model Viewer"), + name = _("MegaGlest G3D Model Viewer v" .. GAME_VERSION), genericname = _("MegaGlest"), tooltip = _("A real time strategy game."), builtin_icon = false, icon = "g3dviewer.ico", commandline = "%0/g3dviewer", - category = "Game" + category = "Game;StrategyGame" + }, + + Setup.DesktopMenuItem + { + disabled = false, + name = _("MegaGlest Uninstall v" .. GAME_VERSION), + genericname = _("MegaGlest"), + tooltip = _("A real time strategy game."), + builtin_icon = false, + icon = "megaglest_uninstall.ico", + commandline = "%0/uninstall-megaglest.sh", + category = "Game;StrategyGame" } }