CodeOS - In Progress

@FLcode thanks! What is the link?

ok i got it from CC.
Your Main is empty so it kills codea…

Here, paste this into a new Codea project:


--# Main
-- CodeOS_Setup

-- Use this function to perform your initial setup
function setup()
    function separate(data)
        for t in data:gmatch("--UPLOADED_TAB:(%S+)%s") do
            local p = data:find("--UPLOADED_TAB:" .. t)
            saveProjectTab("CodeOS:" .. t, data:sub(p, data:find("--UPLOADED_TAB:", p + 10) - 1))
            print(t)
        end
    end
    function separate2(data)
        for t in data:gmatch("--UPLOADED_TAB:(%S+)%s") do
            local p = data:find("--UPLOADED_TAB:" .. t)
            saveProjectTab("CodeOS_Programs:" .. t, data:sub(p, data:find("--UPLOADED_TAB:", p + 10) - 1))
            print(t)
        end
    end
    http.request("http://files.brilliant-minds.tk/Stocks/priv/Codea_CodeOS", separate)
    http.request("http://files.brilliant-minds.tk/Stocks/priv/Codea_CodeOS_Programs", separate2)
end

-- This function gets called once every frame
function draw()
    
end

Sorry for the necro, but I’ve rewritten a lot of it to work on 2.1, and it should be uploaded in about 10 minutes.

EDIT: Everything is uploaded.

Okay, everything is on Codea Community.