Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --SimSoft Yellow - Copyright by Simlor (http://www.computercraft.info/forums2/index.php?/user/55655-simlor/)
- --Update 5.0.2
- file = fs.open("SimSoft/Data/Version","r")
- local fileData = {}
- local line = file.readLine()
- repeat
- table.insert(fileData,line)
- line = file.readLine()
- until line == nil
- file.close()
- Sprache = fileData[4]
- settings.set("shell.allow_disk_startup", false)
- settings.save(".settings")
- local file = fs.open("SimSoft/Data/Version", "w")
- file.writeLine("SimSoft System Version")
- file.writeLine("")
- file.writeLine("5.0.2")
- file.writeLine(Sprache)
- file.close()
- os.reboot()
- --end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement