Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Version 0.01
- function autoUpdate( ... )
- -- body
- local varFile = { ... }
- if fs.exists(varFile[1]) then
- fs.delete(varFile[1])
- end
- shell.run("pastebin get", varFile[2], varFile[1])
- end
- if fs.exists('Data') then
- else
- fs.makeDir('Data')
- end
- if fs.exists('include') then
- fs.delete('include')
- end
- fs.makeDir('include')
- autoUpdate('startup', 'yPEiqh0F')
- autoUpdate('include/checkfuel', 'UsH9NR5A')
- autoUpdate('include/api_turtle','UwG2ZNp6')
- print('Your are running BDXE Version 0.01')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement