element-web/scripts/check-electron.sh
David Baker 693867f074 Final bits to prepare electron distribtion:
* Remove the config: nobody else wants our update URL so we'll
   keep it separately. Don't copy the config.
 * Script to yell at you if you've build a package with auto
   update turned off.
 * s/vector/webapp/ when looking for config
 * Use different update URLs for the various platforms
2016-11-25 19:57:08 +00:00

13 lines
374 B
Bash
Executable file

#!/bin/sh
update_url=`jq .update_url webapp/config.json`
echo "***************************************************"
echo
if [ $? = 0 ]; then
echo "Built electron package with update url: $update_url"
else
echo "Built electron package with no update url"
echo "This build will not auto-update."
fi
echo
echo "***************************************************"