|
@@ -7,6 +7,13 @@ cd cli
|
|
|
export CARGO_NET_GIT_FETCH_WITH_CLI="true"
|
|
|
export VSCODE_CLI_APP_NAME="$( echo "${APP_NAME}" | awk '{print tolower($0)}' )"
|
|
|
export VSCODE_CLI_BINARY_NAME="$( node -p "require(\"../product.json\").serverApplicationName" )"
|
|
|
+export VSCODE_CLI_UPDATE_ENDPOINT="https://raw.githubusercontent.com/VSCodium/versions/refs/heads/master"
|
|
|
+
|
|
|
+if [[ "${VSCODE_QUALITY}" == "insider" ]]; then
|
|
|
+ export VSCODE_CLI_DOWNLOAD_ENDPOINT="https://github.com/VSCodium/vscodium-insiders/releases"
|
|
|
+else
|
|
|
+ export VSCODE_CLI_DOWNLOAD_ENDPOINT="https://github.com/VSCodium/vscodium/releases"
|
|
|
+fi
|
|
|
|
|
|
TUNNEL_APPLICATION_NAME="$( node -p "require(\"../product.json\").tunnelApplicationName" )"
|
|
|
NAME_SHORT="$( node -p "require(\"../product.json\").nameShort" )"
|
|
@@ -58,8 +65,6 @@ else
|
|
|
export CC_aarch64_unknown_linux_gnu=aarch64-linux-gnu-gcc
|
|
|
export CXX_aarch64_unknown_linux_gnu=aarch64-linux-gnu-g++
|
|
|
export PKG_CONFIG_ALLOW_CROSS=1
|
|
|
-
|
|
|
- sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu crossbuild-essential-arm64
|
|
|
elif [[ "${VSCODE_ARCH}" == "armhf" ]]; then
|
|
|
VSCODE_CLI_TARGET="armv7-unknown-linux-gnueabihf"
|
|
|
|
|
@@ -69,8 +74,6 @@ else
|
|
|
export CC_armv7_unknown_linux_gnueabihf=arm-linux-gnueabihf-gcc
|
|
|
export CXX_armv7_unknown_linux_gnueabihf=arm-linux-gnueabihf-g++
|
|
|
export PKG_CONFIG_ALLOW_CROSS=1
|
|
|
-
|
|
|
- sudo apt-get install -y gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf crossbuild-essential-armhf
|
|
|
elif [[ "${VSCODE_ARCH}" == "x64" ]]; then
|
|
|
VSCODE_CLI_TARGET="x86_64-unknown-linux-gnu"
|
|
|
fi
|