mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 02:16:00 +02:00
fix: windows compile
This commit is contained in:
parent
821f042fd9
commit
c4a2325d94
2 changed files with 8 additions and 1 deletions
3
build.py
3
build.py
|
@ -268,6 +268,9 @@ def build_flutter_arch_manjaro(version, features):
|
|||
|
||||
def build_flutter_windows(version, features):
|
||||
os.system(f'cargo build --features {features} --lib --release')
|
||||
if not os.path.exists("target/release/librustdesk.dll"):
|
||||
print("cargo build failed, please check rust source code.")
|
||||
exit(-1)
|
||||
os.chdir('flutter')
|
||||
os.system('flutter build windows --release')
|
||||
os.chdir('..')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue