- updated Linux installer to add uninstall icon in the menu and proper value for progress bar for install. Also mention the MG version # in the menu so users can have multiple versions of MG instaleld in different folders and see in the Menu which icon refers to which version
This commit is contained in:
parent
5fd1bbe855
commit
2e4c911711
|
@ -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 ';'
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue