File tree Expand file tree Collapse file tree
tooling/bundler/src/bundle/linux/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " tauri-bundler " : patch
3+ ---
4+
5+ Pull correct linuxdeploy AppImage when building for 32-bit targets.
Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ set -euxo pipefail
88export ARCH={{arch}}
99APPIMAGE_BUNDLE_XDG_OPEN=${APPIMAGE_BUNDLE_XDG_OPEN-0}
1010
11+ if [ " $ARCH " == " i686" ]; then
12+ linuxdeploy_arch=" i386"
13+ else
14+ linuxdeploy_arch=" $ARCH "
15+ fi
16+
1117mkdir -p " {{app_name}}.AppDir"
1218cp -r ../appimage_deb/data/usr " {{app_name}}.AppDir"
1319
@@ -34,7 +40,7 @@ ln -s "usr/share/applications/{{app_name}}.desktop" "{{app_name}}.desktop"
3440cd ..
3541
3642wget -q -4 -O linuxdeploy-plugin-gtk.sh " https://raw.githubusercontent.com/tauri-apps/linuxdeploy-plugin-gtk/master/linuxdeploy-plugin-gtk.sh"
37- wget -q -4 -O linuxdeploy-${ARCH} .AppImage https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-${ARCH } .AppImage
43+ wget -q -4 -O linuxdeploy-${ARCH} .AppImage https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-${linuxdeploy_arch } .AppImage
3844
3945chmod +x linuxdeploy-plugin-gtk.sh
4046chmod +x linuxdeploy-${ARCH} .AppImage
You can’t perform that action at this time.
0 commit comments