Skip to content

Commit 07ed70f

Browse files
authored
Bundle static file
1 parent 7ab57a7 commit 07ed70f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

make-appimage.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,12 @@ quick-sharun /usr/bin/gearlever \
3030
/usr/bin/cat \
3131
/usr/bin/readelf \
3232
/usr/bin/chmod
33-
# 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
34-
# https://bbs.archlinux.org/viewtopic.php?pid=2274027#p2274027
35-
#
36-
# 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')
3733

38-
# Bundle static 7zip, as stracing it through quick-sharun doesn't give desired results
34+
# Bundle static 7zip and file, as stracing it through quick-sharun doesn't give desired results
3935
wget --retry-connrefused --tries=30 https://pkgs.pkgforge.dev/dl/bincache/x86_64-linux/7z/official/7z/raw.dl -O ./AppDir/bin/7z
4036
chmod +x ./AppDir/bin/7z
37+
wget --retry-connrefused --tries=30 https://pkgs.pkgforge.dev/dl/pkgcache/x86_64-linux/file/appimage/ppkg/stable/file/raw.dl -O ./AppDir/bin/file
38+
chmod +x ./AppDir/bin/file
4139

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

0 commit comments

Comments
 (0)