Skip to content

Commit

Permalink
Update 2d_appimage.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnynunez authored Sep 2, 2024
1 parent 1e8ef80 commit 826c9fc
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions scripts/Linux/internal/2d_appimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,18 @@ done
# Ensure appimagetool is in the PATH
if ! command -v appimagetool &> /dev/null
then
echo "appimagetool could not be found, please install it."
exit 1
echo "appimagetool could not be found, attempting to install it..."
wget https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage \
&& chmod +x appimagetool-x86_64.AppImage \
&& sudo mv appimagetool-x86_64.AppImage /usr/local/bin/appimagetool

if ! command -v appimagetool &> /dev/null
then
echo "Failed to install appimagetool. Please install it manually."
exit 1
fi
else
echo "appimagetool is already installed."
fi

$RESOURCES_PATH/linux/linuxdeploy --appdir=$INSTALL_PATH \
Expand Down

0 comments on commit 826c9fc

Please sign in to comment.