1
0

contrib/osx:

- rename make_osx2.sh -> sign_osx.sh
- add command to unlock keychain
- chmod +x
This commit is contained in:
ThomasV
2024-03-15 10:57:26 +01:00
parent 409bd0199c
commit de5ca461d4
3 changed files with 5 additions and 3 deletions

View File

@@ -91,13 +91,13 @@ This creates both a folder named Electrum.app and the .dmg file (both unsigned).
##### 2.1. For release binaries, here be dragons
If you want the binaries codesigned for macOS and notarised by Apple's central server,
also run the `make_osx2.sh` script:
also run the `sign_osx.sh` script:
CODESIGN_CERT="Developer ID Application: Electrum Technologies GmbH (L6P37P7P56)" \
APPLE_TEAM_ID="L6P37P7P56" \
APPLE_ID_USER="me@email.com" \
APPLE_ID_PASSWORD="1234" \
./contrib/osx/make_osx2.sh
./contrib/osx/sign_osx.sh
(note: `APPLE_ID_PASSWORD` is an app-specific password, *not* the account password)

View File

@@ -213,4 +213,4 @@ info "Creating unsigned .DMG"
hdiutil create -fs HFS+ -volname $PACKAGE -srcfolder dist/$PACKAGE.app dist/electrum-$VERSION-unsigned.dmg || fail "Could not create .DMG"
info "App was built successfully but was not code signed. Users may get security warnings from macOS."
info "Now you also need to run make_osx2.sh to codesign/notarize the binary."
info "Now you also need to run sign_osx.sh to codesign/notarize the binary."

2
contrib/osx/make_osx2.sh → contrib/osx/sign_osx.sh Normal file → Executable file
View File

@@ -2,6 +2,8 @@
set -e
security -v unlock-keychain login.keychain
PACKAGE=Electrum