Skip to content

Commit aa0336d

Browse files
Beanowlucasfernog
andauthored
fix(bundler): ensure AppImage usr/lib is a dir (#4419)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
1 parent 45076b3 commit aa0336d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changes/bundler-appimage-fix.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri-bundler": patch
3+
---
4+
5+
Ensure `usr/lib` is a directory in the AppImage bundle.

tooling/bundler/src/bundle/linux/templates/appimage

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ mkdir -p "{{app_name}}.AppDir"
2626
cp -r "${OUTDIR}/../appimage_deb/data/usr" "{{app_name}}.AppDir"
2727

2828
cd "{{app_name}}.AppDir"
29+
mkdir -p "usr/bin"
30+
mkdir -p "usr/lib"
2931

3032
if [[ "$APPIMAGE_BUNDLE_XDG_OPEN" != "0" ]] && [[ -f "/usr/bin/xdg-open" ]]; then
3133
echo "Copying /usr/bin/xdg-open"

0 commit comments

Comments
 (0)