opt: use force to prevent reuse newer bundle tools
This commit is contained in:
Kingtous
2022-10-21 08:51:20 +08:00
parent 3818a0ddd0
commit f0f3a2027c
3 changed files with 39 additions and 16 deletions

View File

@@ -204,7 +204,7 @@ def build_flutter_windows(version):
else:
os.rename("./target/release/rustdesk-portable-packer.exe", "./rustdesk_portable.exe")
print(f"output location: {os.path.abspath(os.curdir)}/rustdesk_portable.exe")
os.system(f"cp -rf ./rustdesk_portable.exe ./rustdesk-{version}-install.exe")
os.rename("./rustdesk_portable.exe", f"./rustdesk-{version}-install.exe")
print(f"output location: {os.path.abspath(os.curdir)}/rustdesk-{version}-install.exe")
def main():