Gekidou fix unsigned builds (#6614)

This commit is contained in:
Elias Nahum
2022-09-02 10:46:44 -04:00
committed by GitHub
parent 18193f3c91
commit 68da0cc8a5
5 changed files with 40 additions and 129 deletions

View File

@@ -50,6 +50,16 @@ function setup() {
npm run pod-install || exit 1
fi
COMPASS_ICONS="node_modules/@mattermost/compass-icons/font/compass-icons.ttf"
if [ -z "$COMPASS_ICONS" ]; then
echo "Compass Icons font not found"
exit 1
else
echo "Configuring Compass Icons font"
cp "$COMPASS_ICONS" "assets/fonts/"
cp "$COMPASS_ICONS" "android/app/src/main/assets/fonts"
fi
ASSETS=$(node scripts/generate-assets.js)
if [ -z "$ASSETS" ]; then
echo "Error Generating app assets"