summaryrefslogtreecommitdiff
path: root/makeNewerBeta.py
blob: 3537c6e8d69e6eb6f3497c435c4df914747c83dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import shutil, os, sys, subprocess




File = open("/Users/Tempus/Projects/Newer/Kamek/src/prolog.S", "rb")
data = File.read()
File.close()


index = data.find("Newer Release Candidate ")
index += 24


data = data[:index] + "{0} - v1{1}".format(sys.argv[1].zfill(2), sys.argv[2].zfill(3)) + data[index+10:]


File = open("/Users/Tempus/Projects/Newer/Kamek/src/prolog.S", "wb")
File.write(data)
File.close()