fix: build error on version repeat

This commit is contained in:
Barry 2024-04-08 14:39:25 +08:00
parent 44575ff658
commit 4f50092fb1

View file

@ -13,7 +13,7 @@ if __name__ == '__main__':
# print('get tag:', tag)
version = str(tag[1:])
version_file = os.path.abspath(os.path.join(os.path.dirname(__file__), "../QtScrcpy/version"))
version_file = os.path.abspath(os.path.join(os.path.dirname(__file__), "../QtScrcpy/appversion"))
file=open(version_file, 'w')
file.write(version)
file.close()