Skip to content

Commit

Permalink
Add helper script
Browse files Browse the repository at this point in the history
  • Loading branch information
tuniii committed Jan 30, 2022
1 parent b03de46 commit b2fc54b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions mobile/prepare_ios.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

rm -rf node_modules
rm -rf platforms
rm -rf plugins

gpg --quiet --batch --yes --decrypt --passphrase="${SECRET}" --output GoogleService-Info.plist ../.github/secrets/GoogleService-Info.plist.gpg
gpg --quiet --batch --yes --decrypt --passphrase="${SECRET}" --output google-services.json ../.github/secrets/google-services.json.gpg
gpg --quiet --batch --yes --decrypt --passphrase="${SECRET}" --output resources/bell.mp3 ../.github/secrets/bell.mp3.gpg

cd ../webui
npm install
npm run build-mobile
cd ../mobile
npm install -g cordova cordova-res
cordova platform add ios@latest
npm install
cordova-res

0 comments on commit b2fc54b

Please sign in to comment.