Reduce priority group to allow gameplay while downloading resource
This commit is contained in:
parent
075fcb3573
commit
9b237b265c
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue