Skip to content

Commit

Permalink
Added LIMBO to examples.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 12, 2014
1 parent 782bdd8 commit 8f85684
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/limbo/details.txt
@@ -0,0 +1,4 @@
APPTITLE="LIMBO Installer"
DATAFILE="data/limbo_mac_runtime.pkg"


Binary file added examples/limbo/meta/splash.bmp
Binary file not shown.
63 changes: 63 additions & 0 deletions examples/limbo/scripts/config.lua
@@ -0,0 +1,63 @@
local TOTAL_INSTALL_SIZE = 113202507;

local _ = MojoSetup.translate

Setup.Package
{
vendor = "limbogame.org",
id = "limbo",
description = "LIMBO",
version = "1.0",
splash = "splash.bmp",
superuser = false,
write_manifest = true,
support_uninstall = true,
recommended_destinations =
{
MojoSetup.info.homedir,
"/opt/games",
"/usr/local/games"
},

Setup.Readme
{
description = _("LIMBO README"),
source = _("README-linux.txt")
},

Setup.Option
{
-- !!! FIXME: All this filter nonsense is because
-- !!! FIXME: source = "base:///some_dir_in_basepath/"
-- !!! FIXME: doesn't work, since it wants a file when drilling
-- !!! FIXME: for the final archive, not a directory. Fixing this
-- !!! FIXME: properly is a little awkward, though.

value = true,
required = true,
disabled = false,
bytes = TOTAL_INSTALL_SIZE,
description = "LIMBO",

Setup.File
{
wildcards = "*";
},

Setup.DesktopMenuItem
{
disabled = false,
name = "LIMBO",
genericname = "LIMBO",
tooltip = _("Uncertain of his sister's fate, a boy enters LIMBO"),
builtin_icon = false,
icon = "limbo.png",
commandline = "%0/limbo",
workingdir = "%0",
category = "Game"
}
}
}

-- end of config.lua ...

0 comments on commit 8f85684

Please sign in to comment.