693867f074
* 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
13 lines
374 B
Bash
Executable file
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 "***************************************************"
|