build-updates-disabled.sh 344 B

123456789101112131415161718192021
  1. #!/bin/bash
  2. set -ex
  3. CALLER_DIR=$( pwd )
  4. cd "$( dirname "${BASH_SOURCE[0]}" )"
  5. SCRIPT_DIR=$( pwd )
  6. cd ../../../VSCode-win32-${VSCODE_ARCH}/resources/app
  7. cp product.json product.json.bak
  8. cat product.json.bak | jq "del(.updateUrl)" > product.json
  9. rm -f product.json.bak
  10. cd "${SCRIPT_DIR}"
  11. . build.sh "updates-disabled"
  12. cd "${CALLER_DIR}"