mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-11 16:27:18 +10:00
feat(1.100): update patches (#2360)
This commit is contained in:
@@ -71,7 +71,7 @@ if [[ "${OS_NAME}" == "osx" ]]; then
|
||||
cd ..
|
||||
fi
|
||||
|
||||
if [[ "${SHOULD_BUILD_DMG}" != "no" ]]; then
|
||||
if [[ -n "${CERTIFICATE_OSX_P12_DATA}" && "${SHOULD_BUILD_DMG}" != "no" ]]; then
|
||||
echo "Building and moving DMG"
|
||||
pushd "VSCode-darwin-${VSCODE_ARCH}"
|
||||
npx create-dmg ./*.app .
|
||||
@@ -216,6 +216,32 @@ if [[ "${SHOULD_BUILD_REH_WEB}" != "no" ]]; then
|
||||
cd ..
|
||||
fi
|
||||
|
||||
set -ex
|
||||
|
||||
if [[ "${SHOULD_BUILD_CLI}" != "no" ]]; then
|
||||
echo "Building and moving CLI"
|
||||
|
||||
APPLICATION_NAME="$( node -p "require(\"./vscode/product.json\").applicationName" )"
|
||||
NAME_SHORT="$( node -p "require(\"./vscode/product.json\").nameShort" )"
|
||||
TUNNEL_APPLICATION_NAME="$( node -p "require(\"./vscode/product.json\").tunnelApplicationName" )"
|
||||
|
||||
mkdir -p "vscode-cli"
|
||||
|
||||
cd "vscode-cli"
|
||||
|
||||
if [[ "${OS_NAME}" == "osx" ]]; then
|
||||
cp "../VSCode-${VSCODE_PLATFORM}-${VSCODE_ARCH}/${NAME_SHORT}.app/Contents/Resources/app/bin/${TUNNEL_APPLICATION_NAME}" "${APPLICATION_NAME}"
|
||||
elif [[ "${OS_NAME}" == "windows" ]]; then
|
||||
cp "../VSCode-${VSCODE_PLATFORM}-${VSCODE_ARCH}/bin/${TUNNEL_APPLICATION_NAME}.exe" "${APPLICATION_NAME}.exe"
|
||||
else
|
||||
cp "../VSCode-${VSCODE_PLATFORM}-${VSCODE_ARCH}/bin/${TUNNEL_APPLICATION_NAME}" "${APPLICATION_NAME}"
|
||||
fi
|
||||
|
||||
tar czf "../assets/${APP_NAME_LC}-cli-${VSCODE_PLATFORM}-${VSCODE_ARCH}-${RELEASE_VERSION}.tar.gz" .
|
||||
|
||||
cd ..
|
||||
fi
|
||||
|
||||
if [[ "${OS_NAME}" != "windows" ]]; then
|
||||
./prepare_checksums.sh
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user