fix windows store package project for upload

This commit is contained in:
2018-10-02 02:19:57 +02:00
parent 4696342421
commit c9aecf885d
4 changed files with 6 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ regex = re.compile(r'(.*<Identity[^>]+Version=)("\d+\.\d+\.\d+\.\d+")')
with open(abs_path,'w') as new_file:
with open(file_path) as old_file:
for line in old_file:
new_line = regex.sub(r'\1"%s"' % version_number, line)
new_line = regex.sub(r'\1"%s.0"' % tag, line)
new_file.write(new_line)
close(fh)
#Remove original file