diff options
-rwxr-xr-x | build-source.sh | 2 | ||||
-rw-r--r-- | desktop/scripts/build-macos.py | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/build-source.sh b/build-source.sh index 7ca9e462..887135a2 100755 --- a/build-source.sh +++ b/build-source.sh @@ -46,7 +46,7 @@ then echo "Tag does not verify" exit 1 fi -cat ../verify.txt | grep "using RSA key 927F419D7EC82C2F149C1BD1403C2657CD994F73" +cat ../verify.txt | grep -e "using RSA key 927F419D7EC82C2F149C1BD1403C2657CD994F73" -e "using RSA key 2E530667425F4B93874935707B7F1772C0C6FCBF" if [ $? -ne 0 ] then echo "Tag signed with wrong key" 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 |