Update made automatically due to pressing build

This commit is contained in:
Li 2022-05-08 13:14:24 +12:00
parent 89fcf97724
commit 5d9648429a
4 changed files with 7 additions and 7 deletions
HorseIsleServer

View file

@ -63,5 +63,5 @@ control_file = os.path.join("HISPd", "Resources", "DEBIAN", "control")
lines = open(control_file, "rb").readlines()
for i in range(0,len(lines)):
if lines[i].startswith(b"Version: "):
lines[i] = b"Version: "+bytes(commit_tag.replace("v", "")+b"\n", "UTF-8")
lines[i] = b"Version: "+bytes(commit_tag.replace("v", ""), "UTF-8")+b"\n"
open(control_file, "wb").writelines(lines)