mirror of
https://github.com/got-feedBack/feedBack-desktop.git
synced 2026-08-14 20:57:11 +00:00
Merge pull request #93 from got-feedBack/fix/nightly-velopack-entitlements
fix(ci): preserve mac entitlements through Velopack re-sign
This commit is contained in:
@@ -432,6 +432,11 @@ jobs:
|
|||||||
# leaving --keychain off keeps both sides pointing at the same
|
# leaving --keychain off keeps both sides pointing at the same
|
||||||
# store. (build.keychain only holds the signing cert, which
|
# store. (build.keychain only holds the signing cert, which
|
||||||
# codesign finds via the keychain search list.)
|
# codesign finds via the keychain search list.)
|
||||||
|
# --signEntitlements is mandatory: vpk re-signs the bundle, and a
|
||||||
|
# codesign without an entitlements file STRIPS the ones
|
||||||
|
# electron-builder applied (audio-input, allow-jit, ...) — the
|
||||||
|
# hardened-runtime app then gets mic access auto-denied with no
|
||||||
|
# TCC prompt.
|
||||||
xcrun notarytool store-credentials "velopack-notary" \
|
xcrun notarytool store-credentials "velopack-notary" \
|
||||||
--apple-id "$APPLE_ID" \
|
--apple-id "$APPLE_ID" \
|
||||||
--password "$APPLE_APP_SPECIFIC_PASSWORD" \
|
--password "$APPLE_APP_SPECIFIC_PASSWORD" \
|
||||||
@@ -444,6 +449,7 @@ jobs:
|
|||||||
--mainExe "$mainexe" \
|
--mainExe "$mainexe" \
|
||||||
-o release/velopack \
|
-o release/velopack \
|
||||||
--signAppIdentity "$APPLE_SIGNING_IDENTITY" \
|
--signAppIdentity "$APPLE_SIGNING_IDENTITY" \
|
||||||
|
--signEntitlements "$PWD/resources/entitlements.mac.plist" \
|
||||||
--notaryProfile "velopack-notary"
|
--notaryProfile "velopack-notary"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -287,6 +287,11 @@ jobs:
|
|||||||
# first, then hand vpk --notaryProfile. Do NOT pass --keychain:
|
# first, then hand vpk --notaryProfile. Do NOT pass --keychain:
|
||||||
# notarytool defaults to the login keychain, matching vpk's own
|
# notarytool defaults to the login keychain, matching vpk's own
|
||||||
# internal notarytool call.
|
# internal notarytool call.
|
||||||
|
# --signEntitlements is mandatory: vpk re-signs the bundle, and a
|
||||||
|
# codesign without an entitlements file STRIPS the ones
|
||||||
|
# electron-builder applied (audio-input, allow-jit, ...) — the
|
||||||
|
# hardened-runtime app then gets mic access auto-denied with no
|
||||||
|
# TCC prompt.
|
||||||
xcrun notarytool store-credentials "velopack-notary" \
|
xcrun notarytool store-credentials "velopack-notary" \
|
||||||
--apple-id "$APPLE_ID" \
|
--apple-id "$APPLE_ID" \
|
||||||
--password "$APPLE_APP_SPECIFIC_PASSWORD" \
|
--password "$APPLE_APP_SPECIFIC_PASSWORD" \
|
||||||
@@ -299,6 +304,7 @@ jobs:
|
|||||||
--mainExe "$mainexe" \
|
--mainExe "$mainexe" \
|
||||||
-o release/velopack \
|
-o release/velopack \
|
||||||
--signAppIdentity "$APPLE_SIGNING_IDENTITY" \
|
--signAppIdentity "$APPLE_SIGNING_IDENTITY" \
|
||||||
|
--signEntitlements "$PWD/resources/entitlements.mac.plist" \
|
||||||
--notaryProfile "velopack-notary"
|
--notaryProfile "velopack-notary"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user