Skip to content

Commit

Permalink
fix(packager): AppImage bundling failing due to missing /usr/lib64 di…
Browse files Browse the repository at this point in the history
…rectory (#270)

* fix

* add change file
  • Loading branch information
lucasfernog-crabnebula authored Sep 5, 2024
1 parent 33fa66c commit 3ee764d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/fix-appimage-bundle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cargo-packager": patch
---

Fixes AppImage bundling failing due to missing `/usr/lib64` directory.
1 change: 1 addition & 0 deletions crates/packager/src/package/appimage/appimage
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ cp -r ../appimage_deb/data/* "{{app_name}}.AppDir"
cd "{{app_name}}.AppDir"
mkdir -p "usr/bin"
mkdir -p "usr/lib"
mkdir -p "usr/lib64"

# Copy libs. Follow symlinks in case `/usr/lib64` is a symlink to `/usr/lib`
{{#each libs}}
Expand Down

0 comments on commit 3ee764d

Please sign in to comment.