Skip to content

Commit

Permalink
Fix macOS codesigning
Browse files Browse the repository at this point in the history
  • Loading branch information
nightmareci committed Nov 14, 2021
1 parent db73c81 commit 2e7d583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/macos/pkg.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ rm "$APP_DIRECTORY/$NAME.app/Contents/MacOS/$NAME" || exit 1
lipo "$BASE_DIRECTORY/app-arm64/$NAME.app/Contents/MacOS/$NAME" "$BASE_DIRECTORY/app-x86_64/$NAME.app/Contents/MacOS/$NAME" -create -output "$APP_DIRECTORY/$NAME.app/Contents/MacOS/$NAME" || exit 1

# Codesign.
if [ "$2" ] ; then
IDENTITY="$2"
if [ "$4" ] ; then
IDENTITY="$4"
else
IDENTITY="-"
fi
Expand Down

0 comments on commit 2e7d583

Please sign in to comment.