Skip to content

Commit 5c45295

Browse files
authored
Try bundling 7z
1 parent 3b505c3 commit 5c45295

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make-appimage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ quick-sharun /usr/bin/gearlever \
2929
/usr/bin/awk \
3030
/usr/bin/cat \
3131
/usr/bin/readelf \
32-
/usr/bin/chmod
32+
/usr/bin/chmod \
33+
/usr/lib/7zip
3334
# bundling 'file' doesn't work due to Arch's upstream bug, so I'll skip it, so it will be used from the host if available
3435
# https://bbs.archlinux.org/viewtopic.php?pid=2274027#p2274027
3536
#
3637
# bundling 'uname' doesn't make sense, this should be done in Python directly, idk why's this used from the host (upstream is even worse in using less portable 'arch')
37-
# bundling '7zip' doesn't work for extracting AppImages, but simple squashfs, dwarfs and AppImage extract works, so idk why this is used at all, anyway, this will get used from the host if available
3838

3939
# Patch Gear Lever to use AppImage's directory
4040
sed -i '/^pkgdatadir/c\pkgdatadir = os.getenv("SHARUN_DIR", "/usr") + "/share/gearlever"' ./AppDir/bin/gearlever

0 commit comments

Comments
 (0)