Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --this script acts as a Custom Installer for Apps on the Appstore that doesnt have their own custom installer
- local tArg = {...}
- local type = tArg[3]
- local Name = tArg[1]
- local Code = tArg[2]
- local Path
- if type == "Client" then
- Path = shell.resolve("ClientApps")
- elseif type == "image" then
- Path = shell.resolve("os_SystemFiles/Images")
- elseif type == "audio" then
- Path = shell.resolve("os_SystemFiles/Audio")
- end
- Path = fs.combine(Path,Name)
- shell.run("pastebin","get",Code,Path)
- if type == "Client" then
- shell.run("os/os_Programs/Scripts/ClientAppSetup",Name,Path)
- end
Add Comment
Please, Sign In to add comment