2 posts
Posted 20 October 2014 - 12:05 AM
I was planning to make an os for computercraft but i want to make it auto update using github. Could someone please help me.
70 posts
Location
Solitude, Skyrim
Posted 04 November 2014 - 03:42 AM
3057 posts
Location
United States of America
Posted 04 November 2014 - 03:55 AM
1 - Check out the http api (specifically http.get)
2 - Learn the fs api
3 - Take a look at this list of things you need to know for an OS (Note: there are many things in the os section I don't consider OS's)
Spoiler
fs api
http - optional, but awesome
tables, tables, tables!
term api
os.pullEvent
all event types -critical
coroutines
disk api - optional
monitor support - optional
colors
error
pcall
string lib
objects - optional
api creation
know most of the lua 5.1 manual
know which things are broken in luaJ
PS: I don't mean to sound harsh, but creating an actual "OS" is not a good project for a beginner, (I see this is your second post). Make some simpler programs first, especially APIs. APIs are great, because you might use them in your OS, if you decide to develop one.