mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
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
14 lines
374 B
Bash
Executable File
14 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 "***************************************************"
|