From fd50b5ad2003c8178b68e0b7603feb9a8047b5fd Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Thu, 22 Feb 2024 10:54:50 -0800 Subject: [PATCH] Homebrew install create-dmg in a different place now --- desktop/scripts/build-macos.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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