Play-/installer_macos/sign.sh
Jean-Philip Desjardins deded380be Sign macOS executable.
2020-08-31 11:41:03 -04:00

6 lines
318 B
Bash
Executable file

#!/bin/sh
set -e
SCRIPT_PATH=$(dirname "$0")
APP_PATH=$SCRIPT_PATH/../build/Source/ui_qt/Release/Play.app
codesign -s "Developer ID Application" -f $APP_PATH/Contents/Resources/libMoltenVk.dylib
codesign -s "Developer ID Application" -f --deep --entitlements $SCRIPT_PATH/Play.entitlements --options=runtime $APP_PATH