installer.lua - kirayatail/computercraft GitHub Wiki
The installer is a convenient way to get all the other programs from this repository. It acts as a simple file manager that can download and remove programs that are listed in the list.json file. The installer won't recognize or touch local files on your CC computer that aren't listed in the repository listing.
The installer is basically a convenience app for wget-actions on this very repository. It's a quick and visual way to download and update programs that are developed outside of the Minecraft save file.
The program is currently a thread-blocking DOS style visual UI with hotkeys. You navigate with arrow keys and perform actions with 'I'/enter, 'R'/delete, 'U' and 'Q'. On start, the installer fetches the current repository list, which is updated just a few minutes after a pushed commit. A new list is also fetched after each action (install/remove).
Installed programs reside in the / folder, in the future this may become configurable. As the installer is capable of updating and removing itself, be careful not to remove it in error.
The installer does not keep a local index of installed programs, it simply checks the file system.
Autostart feature: By the push of a button the installer will write the startup.lua file to set a program of your choice to auto start. Setting autostart forces install, uninstalling a program will remove the autostart.
Simple and unfinished layout for pocket computers. WIP.
Added multi keybindings for most common tasks. 'I' and for install, 'R' and for remove.
