vscodium/build/windows/msi/build-updates-disabled.sh
2022-06-08 16:59:06 +02:00

21 lines
346 B
Bash

#!/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}"
./build.sh "updates-disabled"
cd "${CALLER_DIR}"