aboutsummaryrefslogtreecommitdiff
path: root/browser
diff options
context:
space:
mode:
authorBeatLink <beatlink@protonmail.com>2019-06-30 09:38:15 -0500
committerBeatLink <beatlink@protonmail.com>2019-06-30 09:38:15 -0500
commit06537b575d53a71fd4d44b571d00cdb49c35e221 (patch)
treef6c72da6d43dd0371b8ab1305c0a6dd990154f84 /browser
parentEnable user agent spoofing (diff)
downloadlibrewolf-linux-06537b575d53a71fd4d44b571d00cdb49c35e221.tar.gz
librewolf-linux-06537b575d53a71fd4d44b571d00cdb49c35e221.tar.bz2
librewolf-linux-06537b575d53a71fd4d44b571d00cdb49c35e221.zip
fix appimage build
Diffstat (limited to 'browser')
-rwxr-xr-xbrowser/build.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/browser/build.sh b/browser/build.sh
index ea3ca00..52becb8 100755
--- a/browser/build.sh
+++ b/browser/build.sh
@@ -126,12 +126,13 @@ cp -vrT $APPIMAGE_RESOURCE_FOLDER ./librewolf;
# Downloads appimage tool
printf "\nDownloading AppImage Tool\n";
-wget https://github.com/AppImage/AppImageKit/releases/latest/download/appimagetool-x86_64.AppImage;
-chmod +x ./appimagetool-x86_64.AppImage;
+wget https://github.com/AppImage/AppImageKit/releases/latest/download/appimagetool-x86_64.AppImage -O appimagetool;
+chmod +x ./appimagetool;
+./appimagetool --appimage-extract;
# Generate AppImage
printf "\nGenerating AppImage\n";
-./appimagetool-x86_64.AppImage ./librewolf;
+./squashfs-root/AppRun ./librewolf;
chmod +x ./LibreWolf*.AppImage;
# Move AppImage to build_output folder
@@ -150,7 +151,8 @@ rm -rf ./librewolf;
# Delete the appimage tool
printf "\nRemoving AppImage tool\n";
-rm -f ./appimagetool-x86_64.AppImage
+rm -f ./appimagetool;
+rm -rf ./squashfs-root;
# Delete the bootstrapper script
printf "\nRemoving bootstrapper.py\n";
bgstack15