updates.sh 552 B

12345678910111213141516171819202122
  1. set -e
  2. FullExecPath=$PWD
  3. pushd `dirname $0` > /dev/null
  4. FullScriptPath=`pwd`
  5. popd > /dev/null
  6. if [ ! -d "$FullScriptPath/../../../DesktopPrivate" ]; then
  7. echo ""
  8. echo "This script is for building the production version of Telegram Desktop."
  9. echo ""
  10. echo "For building custom versions please visit the build instructions page at:"
  11. echo "https://github.com/telegramdesktop/tdesktop/#build-instructions"
  12. exit
  13. fi
  14. pushd `dirname $0` > /dev/null
  15. FullScriptPath=`pwd`
  16. popd > /dev/null
  17. python3 $FullScriptPath/updates.py $1 $2 $3 $4 $5 $6
  18. exit