mirror of
https://github.com/chrisbenincasa/tunarr.git
synced 2026-04-18 09:03:35 -04:00
12 lines
444 B
Bash
Executable File
12 lines
444 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
SCRIPT_FOLDER=$(dirname "${BASH_SOURCE[0]}")
|
|
REPO_ROOT=$(realpath "$SCRIPT_FOLDER/..")
|
|
APP_NAME="$REPO_ROOT/Tunarr.app"
|
|
ENTITLEMENTS="$REPO_ROOT/macos/Tunarr/Tunarr/Tunarr.entitlements"
|
|
SIGNING_IDENTITY="21F2F5C1AA7E5C352B6EC52AC9BFD58C0AC4B306"
|
|
|
|
security find-identity -p codesigning -v
|
|
|
|
codesign --force --verbose --timestamp --options=runtime --entitlements "$ENTITLEMENTS" --sign "$SIGNING_IDENTITY" --deep "$APP_NAME"
|