|
Post by AutoBOT on Sept 14, 2017 15:08:55 GMT
found the one that works. save this code as untar.lua or anything you like pastebin.com/VRujgSqQhow to use it: dofile(scriptPath().. "untar.lua")
--Extract the file
-- @param (string) file name
-- @param (string) destination folder
-- @param (bool) delete the tar after completion
untar(scriptPath().."file.tar", scriptPath(), true)
|
|
|
Post by andreos on Oct 27, 2019 15:28:18 GMT
Did u get this to work?
I get:
Invalid header magic [some Chinese word] Runtime error:/sdcard/AnkuLua/test/unrar.lua:136 attempt to index local 'header' (a boolean value)
|
|