mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-24 18:22:58 -03:00
Merge pull request #1877 from onionshare/fix-homebrew-path
Fix homebrew path
This commit is contained in:
commit
28d9ef17c3
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