diff options
author | BeatLink <beatlink@protonmail.com> | 2019-08-18 03:43:39 -0500 |
---|---|---|
committer | BeatLink <beatlink@protonmail.com> | 2019-08-18 03:43:39 -0500 |
commit | 54f6b09f1a96a96106628f1f04edac2f1fa50d9f (patch) | |
tree | 3addd8b0e55997f9275479d74dee8a79d8c10dca /appimage/build_appimage.sh | |
parent | fix script (diff) | |
download | librewolf-linux-54f6b09f1a96a96106628f1f04edac2f1fa50d9f.tar.gz librewolf-linux-54f6b09f1a96a96106628f1f04edac2f1fa50d9f.tar.bz2 librewolf-linux-54f6b09f1a96a96106628f1f04edac2f1fa50d9f.zip |
fix appimage build
Diffstat (limited to 'appimage/build_appimage.sh')
-rwxr-xr-x | appimage/build_appimage.sh | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/appimage/build_appimage.sh b/appimage/build_appimage.sh index bdd9490..daaf535 100755 --- a/appimage/build_appimage.sh +++ b/appimage/build_appimage.sh @@ -1,4 +1,9 @@ #!/bin/sh +""" + + +""" + printf "\n\n------------------------------------ APPIMAGE BUILD -----------------------------------------\n"; # Aborts the script upon any faliure @@ -29,16 +34,18 @@ printf "\nDownloading AppImage Tool\n"; apt -qq update && apt -qqy install wget; wget $_APPIMAGETOOL_DOWNLOAD_URL -O $_APPIMAGETOOL_FILE; chmod +x $_APPIMAGETOOL_FILE; -$_APPIMAGETOOL_FILE --appimage-extract $_APPIMAGETOOL_EXTRACTED_FOLDER; -rm -f $_APPIMAGETOOL_FILE; # Generate AppImage printf "\nGenerating AppImage\n"; -ARCH=x86_64 $_APPIMAGETOOL_EXTRACTED_FOLDER/AppRun $_BINARY_TARBALL_EXTRACTED_FOLDER; -rm -rf $_BINARY_TARBALL_EXTRACTED_FOLDER; -rm -rf $_APPIMAGETOOL_EXTRACTED_FOLDER; +ARCH=x86_64 $_APPIMAGETOOL_FILE --appimage-extract-and-run $_BINARY_TARBALL_EXTRACTED_FOLDER; chmod +x $_BUILD_APPIMAGE_FILE; # Move AppImage to specified location printf "\nMoving AppImage to specified location\n"; mv $_BUILD_APPIMAGE_FILE $APPIMAGE_FILE; + +# Cleanup files +printf "\nCleaning up AppImage files\n"; +rm -rf $_BINARY_TARBALL_EXTRACTED_FOLDER; +rm -f $_APPIMAGETOOL_FILE; +rm -rf $_APPIMAGETOOL_EXTRACTED_FOLDER; |