macos: build with Python 3.9.1

This commit is contained in:
Philipp Wolfer
2020-12-18 09:26:00 +01:00
parent 09aa1b7467
commit 293c2c730f
3 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@ jobs:
env:
DISCID_VERSION: 0.6.2
FPCALC_VERSION: 1.5.0
PYTHON_VERSION: 3.7.6
PYTHON_VERSION: 3.9.1
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.macos-deployment-version }}
steps:
- uses: actions/checkout@v2

View File

@@ -1,3 +1,3 @@
Babel==2.6
PyInstaller==4.0
PyInstaller==4.1
setuptools<45.0.0

View File

@@ -54,7 +54,7 @@ mv "$APP_BUNDLE.tmp" "$APP_BUNDLE"
if [ "$CODESIGN" = '1' ]; then
# Enable hardened runtime if app will get notarized
if [ "$NOTARIZE" = "1" ]; then
codesign --verbose --deep \
codesign --verbose --deep --force \
--options runtime \
--entitlements ../scripts/package/entitlements.plist \
--keychain "$KEYCHAIN_PATH" --sign "$CERTIFICATE_NAME" \
@@ -62,7 +62,7 @@ if [ "$CODESIGN" = '1' ]; then
../scripts/package/macos-notarize-app.sh "$APP_BUNDLE"
codesign --verbose --deep --verbose --strict=all --check-notarization "$APP_BUNDLE"
else
codesign --verify --verbose --deep \
codesign --verify --verbose --deep --force \
--keychain "$KEYCHAIN_PATH" --sign "$CERTIFICATE_NAME" \
"$APP_BUNDLE"
fi