Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Alle Rechte an SimSoft 3.1 sind "SimlorLP" (oder in Minecraft auch nur "Simlor") vorbehalten.
- --Update 3.1.2
- file = fs.open("SimSoft/Daten/Config","r")
- local fileData = {}
- local line = file.readLine()
- repeat
- table.insert(fileData,line)
- line = file.readLine()
- until line == nil
- file.close()
- a = fileData[1]
- b = fileData[2]
- version = "3.1.2"
- sprache = fileData[4]
- local file = fs.open("SimSoft/Daten/Config","w")
- file.close()
- local file = fs.open("SimSoft/Daten/Config","a")
- file.writeLine(a)
- file.writeLine(b)
- file.writeLine(version)
- file.writeLine(sprache)
- file.close()
- function Download(Pfad, CodePB)
- fs.delete(Pfad)
- local datei = http.get("http://pastebin.com/raw/"..CodePB)
- datei = datei.readAll()
- local file = fs.open(Pfad, "w")
- file.write(datei)
- file.close()
- end
- Download("SimSoft/System/Desktop", "V32EFt9q")
- Download("SimSoft/System/SappS", "xvU8Ep0N")
- Download("SimSoft/System/SystemStart", "9TDWzqPK")
- os.reboot()
- --end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement