Reduce priority group to allow gameplay while downloading resource

This commit is contained in:
Fierelier 2021-09-10 14:19:47 +02:00
parent 075fcb3573
commit 9b237b265c
1 changed files with 1 additions and 0 deletions

View File

@ -184,6 +184,7 @@ def main():
fileMeta = open(p(pathOut,"meta.xml"),"w")
fileMeta.write("<meta>\n")
fileMeta.write('<info author="unknown" version="1.0.0" name="' +pathOut.rsplit(os.path.sep,1)[-1]+ '"/>\n')
fileMeta.write('<download_priority_group>-1</download_priority_group>\n')
fileMeta.write('<script src="client.lua" type="client"/>\n')
for ide in data["ide"]:
fileMeta.write('<script src="gta/' +ide.replace("\\","/")+ '.lua" type="client"/>\n')