Skip to content

Commit 109123f

Browse files
authored
Don't hardcode the architecture for file and 7z
1 parent a6142bd commit 109123f

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
@@ -32,9 +32,9 @@ quick-sharun /usr/bin/gearlever \
3232
/usr/bin/chmod
3333

3434
# Bundle static 7zip and file, as stracing it through quick-sharun doesn't give desired results
35-
wget --retry-connrefused --tries=30 https://pkgs.pkgforge.dev/dl/bincache/x86_64-linux/7z/official/7z/raw.dl -O ./AppDir/bin/7z
35+
wget --retry-connrefused --tries=30 "https://pkgs.pkgforge.dev/dl/bincache/$ARCH-linux/7z/official/7z/raw.dl" -O ./AppDir/bin/7z
3636
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
37+
wget --retry-connrefused --tries=30 "https://pkgs.pkgforge.dev/dl/pkgcache/$ARCH-linux/file/appimage/ppkg/stable/file/raw.dl" -O ./AppDir/bin/file
3838
chmod +x ./AppDir/bin/file
3939

4040
# Patch Gear Lever to use AppImage's directory

0 commit comments

Comments
 (0)