mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-08-03 22:28:39 +00:00
fix: build error on version repeat
This commit is contained in:
parent
ea7e637c84
commit
0340c35a84
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ if __name__ == '__main__':
|
||||||
# print('get tag:', tag)
|
# print('get tag:', tag)
|
||||||
|
|
||||||
version = str(tag[1:])
|
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=open(version_file, 'w')
|
||||||
file.write(version)
|
file.write(version)
|
||||||
file.close()
|
file.close()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue