Posted 13 June 2015 - 10:06 PM
Lyte (Update 2)
File downloader with options!
Lyte is a file downloader that is easy to use and everything is packed in one file.
Features:
- Simple to config.
- Has options like "RunFileAfterDone" and "RunFile"
- Look mom, no hands! (User does not have to do anything after running because Lyte takes control.(Unless you edit so you have to do something, of course))
- GitHub support (Added by Monthkiller in U2)
- Auto-clean when pressing CTRL+T (Added by Monthkiller in U2)
So, if you want to make your own installer,
- Download a programmer text editor such as Atom or Notepad++ or simply use the ingame editor.
- Download the program via pastebin get zTQ3qnp0 lyte
- Open the program in the editor. To open it from ingame, im pretty sure you can google it (no offence intended).
- Change the files table to include the files you want it to download. e.g:
–Add your files here, as many as you want.
–Example: [1] = {name = "format"; url = "pastebin.com/raw.php?i=Pj9LQzfE"},
–Gets format.
[1] = {name = "format"; url = "pastebin.com/raw.php?i=Pj9LQzfE"},
}
5. Change the settings table to what you want. e.g:
local Settings = {
CurrentTitle = "Format", -- Change this to your programs name.
CurrentSubTitle = "Wipes your computer!", -- That can be used for a short description, but it will only display for 5 seconds.
RunFile = false,
RunFileAfterDone = nil, --Change this if you want to run a file after done. Requires RunFile to be true.
UseGit = false, -- Change if you want to use GitHub *Monthkiller*
GitUsername = "", -- Change to your username if you want to use GitHub. Needs UseGit to be true. *Monthkiller*
GitRepo = "", -- Change to your program's repo if using git. Needs a GitUsername and UseGit is true. *Monthkiller*
}
6. Save and exit and well, if you want to, test it and it should work. Then if you like it, post it (Make sure you credit me!)Edited on 13 June 2015 - 09:49 PM