https://bitbucket.org/hudson/magic-lantern
Revision f4fb08288ce243d818bb7cbec0cc866efa5797a8 authored by alex@thinkpad on 29 October 2017, 19:04:27 UTC, committed by alex@thinkpad on 29 October 2017, 19:04:27 UTC
(they are interchangeable; older systems may require gvfs-mount, newer systems will print warnings)
1 parent 94ac658
Raw File
Tip revision: f4fb08288ce243d818bb7cbec0cc866efa5797a8 authored by alex@thinkpad on 29 October 2017, 19:04:27 UTC
Makefile: use "gio mount" rather than "gvfs-mount"
Tip revision: f4fb082
hello.lua
-- A very simple script.

function main()
    menu.close()
    console.show()
    print "Hello, World!"
    print "Press any key to exit."
    key.wait()
    console.hide()
end

keymenu = menu.new
{
    name   = "Hello, World!",
    help   = "Prints 'Hello World' on the console",
    select = function(this) task.create(main) end,
}

back to top