Homebrew install create-dmg in a different place now

This commit is contained in:
Micah Lee 2024-02-22 10:54:50 -08:00
parent b47f2387f1
commit fd50b5ad20
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -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