diff options
Diffstat (limited to 'src/lpm.lua')
-rw-r--r-- | src/lpm.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lpm.lua b/src/lpm.lua index 02738a8..c1c9ab9 100644 --- a/src/lpm.lua +++ b/src/lpm.lua @@ -1628,10 +1628,14 @@ Flags have the following effects: end if ARGS[2] == "download" then - local file = common.get("https://raw.githubusercontent.com/adamharrison/lite-xl-simplified/master/manifest.json"); + local file = common.get(ARGS[3]); print(file) os.exit(0) end + if ARGS[2] == "extract" then + system.extract(ARGS[3], ARGS[4] or ".") + os.exit(0) + end -- Base setup; initialize default repos if applicable, read them in. Determine Lite XL system binary if not specified, and pull in a list of all local lite-xl's. |