mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-24 18:22:58 -03:00
Homebrew install create-dmg in a different place now
This commit is contained in:
parent
b47f2387f1
commit
fd50b5ad20
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue