Thunder7102

toDownload

May 24th, 2015
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.94 KB | None | 0 0
  1. --Insert any programs you want to download and keep updated
  2. --Use this in combination with the updater program
  3.  
  4. local downloadList =
  5. {
  6. --[[
  7.     Appropriate format for adding a program is:
  8.     ["Program Name"] = {"url To Download Program", "pathToSaveTo", versionNumber}
  9.     If you change the path you want it to download to, change the version as well. The updater
  10.         will only make changes/updates if the versionNumber of the program changes
  11. ]]
  12.     ["Move API"] = {"9QFxP4Ff", "api/move", 1.0},
  13.     ["Core API"] = {"9QFxP4Ff", "api/core", 1.0},
  14.     ["Tree Cutter"] = {"ybK185kE", "programs/tree", 1.0},
  15.     ["Fast Refuel"] = {"C4Z2BuQr", "programs/refuel", 1.0},
  16.     ["Portable Miner"] = {"FY8PwDzH", "programs/portableMiner", 1.0},
  17.     ["React Launcher"] = {"x0G51xNs", "startup", 1.0}
  18. }
  19.  
  20. --Don't change this, these are how updater references the data above
  21. function getData(program)
  22.     local table = downloadList[program]
  23.     return unpack(table)
  24. end
Add Comment
Please, Sign In to add comment