Skip to content

Commit

Permalink
remove default create-dmg in build.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rustdesk committed Mar 24, 2024
1 parent 85cafda commit 25b5c96
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,9 +421,11 @@ def build_flutter_dmg(version, features):
"cp target/release/liblibrustdesk.dylib target/release/librustdesk.dylib")
os.chdir('flutter')
system2('flutter build macos --release')
'''
system2(
"create-dmg --volname \"RustDesk Installer\" --window-pos 200 120 --window-size 800 400 --icon-size 100 --app-drop-link 600 185 --icon RustDesk.app 200 190 --hide-extension RustDesk.app rustdesk.dmg ./build/macos/Build/Products/Release/RustDesk.app")
os.rename("rustdesk.dmg", f"../rustdesk-{version}.dmg")
'''
os.chdir("..")


Expand Down

0 comments on commit 25b5c96

Please sign in to comment.