67 lines
1.4 KiB
Lua
67 lines
1.4 KiB
Lua
![]() |
local GAME_INSTALL_SIZE = 510000000;
|
||
|
|
||
|
local _ = MojoSetup.translate
|
||
|
|
||
|
Setup.Package
|
||
|
{
|
||
|
vendor = "glest.org",
|
||
|
id = "megaglest",
|
||
|
description = _("Mega Glest"),
|
||
|
version = "3.3.4",
|
||
|
splash = "glestforumsheader.bmp",
|
||
|
superuser = false,
|
||
|
write_manifest = true,
|
||
|
support_uninstall = true,
|
||
|
recommended_destinations =
|
||
|
{
|
||
|
MojoSetup.info.homedir,
|
||
|
"/opt/games",
|
||
|
"/usr/local/games"
|
||
|
},
|
||
|
|
||
|
postinstall = function(package)
|
||
|
MojoSetup.launchbrowser(MojoSetup.destination .. "http://glest.org/glest_board/index.php?topic=4930.0")
|
||
|
end,
|
||
|
|
||
|
Setup.Eula
|
||
|
{
|
||
|
description = _("Megaglest License"),
|
||
|
source = _("docs/license.txt")
|
||
|
},
|
||
|
|
||
|
Setup.Readme
|
||
|
{
|
||
|
description = _("Megaglest README"),
|
||
|
source = _("docs/readme.txt")
|
||
|
},
|
||
|
|
||
|
Setup.Option
|
||
|
{
|
||
|
value = true,
|
||
|
required = true,
|
||
|
disabled = false,
|
||
|
bytes = GAME_INSTALL_SIZE,
|
||
|
description = _("Mega Glest"),
|
||
|
|
||
|
Setup.File
|
||
|
{
|
||
|
-- Just install everything we see...
|
||
|
},
|
||
|
|
||
|
Setup.DesktopMenuItem
|
||
|
{
|
||
|
disabled = false,
|
||
|
name = _("MegaGlest"),
|
||
|
genericname = _("MegaGlest"),
|
||
|
tooltip = _("A real time strategy game."),
|
||
|
builtin_icon = false,
|
||
|
icon = "glest.ico",
|
||
|
commandline = "%0/glest",
|
||
|
category = "Game"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
-- end of config.lua ...
|
||
|
|