Posted 22 May 2014 - 11:43 PM
My second program, an installer.
To make it your own, just change a few strings toward the top:
Version:
license_url: URL of the license
github_repo: GitHub repo storing the URL list, will be explained later
URL LIST
2. Store a table in the following format serialized with textutils in that file
Format:
Value: URL to download file from3. Profit!
No pics, no clicks:
File: http://pastebin.com/csC29fp8
To install the installer as startup (why?),
Changelog:
To make it your own, just change a few strings toward the top:
Spoiler
-- OS Config
os_name = "CWCOS"
os_version_major = 0
os_version_minor = 1
os_version_revision = 0
os_version_abr = "alpha"
license_url = "http://opensource.org/licenses/BSD-3-Clause"
github_repo = "CodingWithClass/CWCOS"
os_name: Name of the appVersion:
os_version_major.."."..os_version_minor.."."..os_version_revision.." "..os_version_abr
os_version_abr: alpha, beta, release, etclicense_url: URL of the license
github_repo: GitHub repo storing the URL list, will be explained later
URL LIST
Spoiler
1. Create a GitHub repo and add a file calledinstall_files.textutils
.2. Store a table in the following format serialized with textutils in that file
Format:
Spoiler
Key: File name in filesystem (no preceeding slash)Value: URL to download file from
No pics, no clicks:
File: http://pastebin.com/csC29fp8
To install the installer as startup (why?),
pastebin run csC29fp8
Changelog:
Spoiler
Don't have a version system, but:
[s]May 22, 2014 7:15 PM CST: Added recursive directory creation so you can make directories[/s] Broken, the code's commented so if someone could see what's wrong that would be nice
Edited on 23 May 2014 - 02:00 PM