Skip to content

Commit

Permalink
fix(appimage): build by setting ARCH env (#2095)
Browse files Browse the repository at this point in the history
  • Loading branch information
KnowZero authored Nov 7, 2024
1 parent 6cb2291 commit 45927b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build/linux/appimage/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45927b0

Please sign in to comment.