diff options
author | Micah Lee <micah@micahflee.com> | 2024-02-22 10:54:50 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2024-02-22 10:54:50 -0800 |
commit | fd50b5ad2003c8178b68e0b7603feb9a8047b5fd (patch) | |
tree | 4ebb881c5d303b180ca86dd8938fd2e382f29cd5 | |
parent | b47f2387f14e9e72a0343865b9d026895ee09f09 (diff) | |
download | onionshare-fd50b5ad2003c8178b68e0b7603feb9a8047b5fd.tar.gz onionshare-fd50b5ad2003c8178b68e0b7603feb9a8047b5fd.zip |
Homebrew install create-dmg in a different place nowfix-homebrew-path
-rw-r--r-- | desktop/scripts/build-macos.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/scripts/build-macos.py b/desktop/scripts/build-macos.py index c998eb0d..8bbadfba 100644 --- a/desktop/scripts/build-macos.py +++ b/desktop/scripts/build-macos.py @@ -248,7 +248,9 @@ def codesign(app_path): @click.argument("app_path") def package(app_path): """Build the DMG package""" - if not os.path.exists("/usr/local/bin/create-dmg"): + if not os.path.exists("/usr/local/bin/create-dmg") and not os.path.exists( + "/opt/homebrew/bin/create-dmg" + ): print("> Error: create-dmg is not installed") return |