vscodium/build/windows/msi/build-updates-disabled.sh

22 lines
346 B
Bash
Raw Normal View History

#!/bin/bash
set -ex
CALLER_DIR=$( pwd )
cd "$( dirname "${BASH_SOURCE[0]}" )"
SCRIPT_DIR=$( pwd )
cd "../../../VSCode-win32-${VSCODE_ARCH}/resources/app"
cp product.json product.json.bak
cat product.json.bak | jq "del(.updateUrl)" > product.json
rm -f product.json.bak
cd "${SCRIPT_DIR}"
2022-06-08 17:59:06 +03:00
./build.sh "updates-disabled"
cd "${CALLER_DIR}"