From 45927b08c7718a7224f2b19e8d0450c8c75489ee Mon Sep 17 00:00:00 2001 From: KnowZero Date: Wed, 6 Nov 2024 19:11:05 -0500 Subject: [PATCH] fix(appimage): build by setting ARCH env (#2095) --- build/linux/appimage/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/linux/appimage/build.sh b/build/linux/appimage/build.sh index 0242727..a2b4366 100755 --- a/build/linux/appimage/build.sh +++ b/build/linux/appimage/build.sh @@ -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