Skip to content

Commit

Permalink
Try maintaining symlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
thegecko committed Sep 9, 2020
1 parent d7270ce commit bbe1331
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
node_modules
.browser_modules
dist
Expand Down
6 changes: 3 additions & 3 deletions scripts/sign.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENTITLEMENTS=$2

# zip app
chmod -R a-st $INPUT
zip -r -q unsigned.zip $INPUT
zip -r -q --symlinks unsigned.zip $INPUT
rm -rf $INPUT

# copy zip to storage server
Expand All @@ -26,8 +26,8 @@ actualSize=$(stat -f%z signed.zip)
# file is too small, it's likely an error so show it
if [ $actualSize -lt 40000000 ]; then
echo "signed.zip is just $actualSize bytes large!"
echo ""
cat signed.zip
output=$(cat signed.zip)
echo "$output"
fi

# unzip app
Expand Down

0 comments on commit bbe1331

Please sign in to comment.