2021-09-08 19:38:07 -04:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
CALLER_DIR=$( pwd )
|
|
|
|
|
|
|
|
cd "$( dirname "${BASH_SOURCE[0]}" )"
|
|
|
|
|
|
|
|
SCRIPT_DIR=$( pwd )
|
|
|
|
|
2022-06-05 15:30:23 -04:00
|
|
|
cd "../../../VSCode-win32-${VSCODE_ARCH}/resources/app"
|
2021-09-08 19:38:07 -04:00
|
|
|
|
|
|
|
cp product.json product.json.bak
|
|
|
|
cat product.json.bak | jq "del(.updateUrl)" > product.json
|
|
|
|
rm -f product.json.bak
|
|
|
|
|
|
|
|
cd "${SCRIPT_DIR}"
|
|
|
|
|
|
|
|
. build.sh "updates-disabled"
|
|
|
|
|
|
|
|
cd "${CALLER_DIR}"
|