macos signing (#835)

* add certificate envs

more signing envs

* signing identity

install api key in release workflow

sign ffmpeg libraries

* update all envs

* update docker build action

* update fmmpeg scripts

* remove lib codesigning from setup script

* declare signing identity arg

* codesign ffmpeg in setup

* stupid

* qutoes
This commit is contained in:
Brendan Allan authored and GitHub committed 2023-05-20 03:20:14 +00:00
1 parent b4dad087e4
commit 99f4df1487
5 files changed
+28 -3

No files matched your search

+1 -1
View File
@@ -316,7 +316,7 @@ elif [ "$SYSNAME" = "Darwin" ]; then
for _lib in "${_frameworks_dir}/FFMpeg.framework/Libraries/"*; do
if [ -f "$_lib" ]; then
# Sign the lib with the local machine certificate (Required for it to work on macOS 13+)
if ! codesign -s - -f "$_lib" 1>/dev/null 2>&1; then
if ! codesign -s "$APPLE_SIGNING_IDENTITY" -f "$_lib" 1>/dev/null 2>&1; then
err "Failed to sign: ${_lib#"$_frameworks_dir"}" \
'Please open an issue on https://github.com/spacedriveapp/spacedrive/issues'
fi