Skip to content

Commit

Permalink
"AM" version 3.0.2 RELEASED!
Browse files Browse the repository at this point in the history
Added a template for AppImage.GitHub.io
  • Loading branch information
ivan-hc authored Apr 7, 2022
1 parent ddbf9bc commit 63d7ea0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion APP-MANAGER
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ case "$1" in
echo " 7) My AppImage is built with pkg2appimage but with a custom AppRun"
echo " 8) My AppImage has a linear URL to the latest version"
echo " 9) My AppImage has a version number in the URL for the latest version"
echo " A) My AppImage come from AppImage.Github.io"
echo " "
read -r -p " WHAT KIND OF PROGRAM DO YOU WANT TO WRITE A SCRIPT FOR? : " response
case "$response" in
Expand All @@ -457,6 +458,7 @@ case "$1" in
7) wget -c $URL/templates/AM-SAMPLE-pkg2appimage-custom -O $2.AM && sed -i s/SAMPLE/$2/g $2.AM;;
8) wget -c $URL/templates/AM-SAMPLE-appimage-download-simple -O $2.AM && sed -i s/SAMPLE/$2/g $2.AM;;
9) wget -c $URL/templates/AM-SAMPLE-appimage-download-by-version -O $2.AM && sed -i s/SAMPLE/$2/g $2.AM;;
'A'|'a') wget -c $URL/templates/AM-SAMPLE-AppImage.GitHub.io -O $2.AM && sed -i s/SAMPLE/$2/g $2.AM;;
*) echo ""; echo " No valid argument was chosen: process aborted! "; echo ""; exit;;
esac
done
Expand Down Expand Up @@ -591,6 +593,6 @@ case "$1" in
fi
done
shift;;
'version'|'-v'|'--version') echo "3.0.1-1";;
'version'|'-v'|'--version') echo "3.0.2";;
*) exec /opt/am/APP-MANAGER ;;
esac

0 comments on commit 63d7ea0

Please sign in to comment.