fix(appimage): build by setting ARCH env (#2095)

This commit is contained in:
KnowZero
2024-11-06 19:11:05 -05:00
committed by GitHub
parent 6cb2291016
commit 45927b08c7

View File

@@ -37,6 +37,8 @@ if [[ "${VSCODE_ARCH}" == "x64" ]]; then
sed -i 's|@@ICON@@|vscodium|g' recipe.yml
fi
# workaround that enforces x86 ARCH for pkg2appimage having /__w/vscodium/vscodium/build/linux/appimage/VSCodium/VSCodium.AppDir/usr/share/codium/resources/app/node_modules/rc/index.js is of architecture armhf
export ARCH=x86_64
bash -ex pkg2appimage.AppDir/AppRun recipe.yml
rm -f pkg2appimage-*.AppImage