From 591d631b0d1a4354e7abf81c7ff4316355a894eb Mon Sep 17 00:00:00 2001 From: Seyyed Emad Razavi Date: Sat, 12 Aug 2023 13:35:16 +0330 Subject: [PATCH] Fix create-dmg issue on macosx --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index d1fdd4aaf..fc4a06f51 100755 --- a/build.py +++ b/build.py @@ -556,7 +556,7 @@ def main(): codesign -s "Developer ID Application: {0}" --force --options runtime ./target/release/bundle/osx/RustDesk.app/Contents/MacOS/* codesign -s "Developer ID Application: {0}" --force --options runtime ./target/release/bundle/osx/RustDesk.app '''.format(pa)) - system2('create-dmg target/release/bundle/osx/RustDesk.app') + system2('create-dmg "RustDesk %s.dmg" "target/release/bundle/osx/RustDesk.app"' % version) os.rename('RustDesk %s.dmg' % version, 'rustdesk-%s.dmg' % version) if pa: