summaryrefslogtreecommitdiffstats
path: root/firmware/export
diff options
context:
space:
mode:
authorWilliam Wilgus <me.theuser@yahoo.com>2020-05-29 10:44:24 -0500
committerWilliam Wilgus <me.theuser@yahoo.com>2020-06-01 13:23:38 -0500
commite4ee5980c6490c6e4c5cedb8b1b4c37443b1c35a (patch)
tree150b6a3cd8707962552929ca1b02e71a63858e26 /firmware/export
parentfba4df5d6d4317e02f1baf25b54c2c051eec5d1d (diff)
downloadrockbox-e4ee5980c6490c6e4c5cedb8b1b4c37443b1c35a.tar.gz
rockbox-e4ee5980c6490c6e4c5cedb8b1b4c37443b1c35a.tar.bz2
rockbox-e4ee5980c6490c6e4c5cedb8b1b4c37443b1c35a.zip
lua add _fullpath and argument parsing
WIP for passing arguments to lua scripts args are recognized by adding ?arg to the end of the script path The easiest way to do this currently is to use the function rb.restart_lua local sfile = rawget(_G, "_fullpath") or "" local sArgs = rawget(_G, "_arguments") if not sArgs then rb.restart_lua(sfile .. "?my arguments") else rb.splash(1000, sfile .. "?" .. sArgs) end I'd eventually like to figure out a sensible way to do this from a shortcut / quick list Change-Id: I2b60fe3b8f1d04b57361fe532510bd6afee59fbf
Diffstat (limited to 'firmware/export')
0 files changed, 0 insertions, 0 deletions