vscodium/build/windows/msi/build-updates-disabled.sh
Baptiste Augrain 108166f640
build: add MSI (#827)
Co-authored-by: Alexander Hass <4450722+alexhass@users.noreply.github.com>
2021-09-09 01:38:07 +02:00

22 lines
344 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}"