-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OSX arm64 native support installer sign support
- Loading branch information
Showing
7 changed files
with
79 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"ts":"202402070602"} | ||
{"ts":"202402070902"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,4 +52,4 @@ | |
"fs-xattr": "^0.4.0", | ||
"grunt-appdmg": "github:agoodney/grunt-appdmg" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
|
||
#-- Terminal colors | ||
NC="\033[0m" #-- Reset colors | ||
BLUE="\033[1;34m" | ||
RED="\033[1;31m" | ||
GREEN="\033[1;32m" | ||
|
||
#-- Start repairing | ||
APPDIR="dist/" | ||
if [ -d $APPDIR ]; then | ||
# Iiterate over .dmg files in dist | ||
for dmg in `ls ${APPDIR}*.dmg`; do | ||
echo "${dmg}" | ||
if [ -f "${dmg}" ]; then | ||
if [ -n "${CODESIGN_ID}" ]; then | ||
echo "${GREEN}Sign OSX bundle for ${dmg}${NC}" | ||
codesign --force --deep --sign "${CODESIGN_ID}" "${dmg}" | ||
fi | ||
fi | ||
done | ||
else | ||
echo " =>${RED} OSX ARM64 bundle not found" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/sh | ||
|
||
#-- Terminal colors | ||
NC="\033[0m" #-- Reset colors | ||
BLUE="\033[1;34m" | ||
RED="\033[1;31m" | ||
GREEN="\033[1;32m" | ||
|
||
#-- Start repairing | ||
APPDIR="dist/icestudio/osx64" | ||
if [ -d $APPDIR ]; then | ||
# Iiterate over .dmg files in dist | ||
for dmg in `ls ${APPDIR}/*.dmg`; do | ||
if [ -f "$dmg" ]; then | ||
if [ -n "${CODESIGN_ID}" ]; then | ||
echo "${GREEN}Sign OSX bundle for ${dmg}${NC}" | ||
codesign --force --deep --sign "${CODESIGN_ID}" "${dmg}" | ||
fi | ||
fi | ||
done | ||
else | ||
echo " =>${RED} OSX bundle not found" | ||
fi |