Skip to content

Commit

Permalink
"AM" updated!
Browse files Browse the repository at this point in the history
New template that replaces many of them (option `-t` or `template`, select 8)
  • Loading branch information
ivan-hc authored Apr 11, 2022
1 parent 8627892 commit a304002
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions APP-MANAGER
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,7 @@ case "$1" in
echo ' 5) My standalone *.ZIP archive come from a site or repository ("unzip" needed)'
echo " 6) My AppImage is built with pkg2appimage & appimagetool"
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 " 8) Generic script to Download & Update any AppImage from Github (RECOMMENDED)"
echo " "
read -r -p " WHAT KIND OF PROGRAM DO YOU WANT TO WRITE A SCRIPT FOR? : " response
case "$response" in
Expand All @@ -456,9 +454,7 @@ case "$1" in
5) wget -c $URL/templates/AM-SAMPLE-ZIP-from-site -O $2.AM && sed -i s/SAMPLE/$2/g $2.AM;;
6) wget -c $URL/templates/AM-SAMPLE-pkg2appimage -O $2.AM && sed -i s/SAMPLE/$2/g $2.AM;;
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;;
8) wget -c $URL/templates/AM-SAMPLE-GitHub-generic -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 @@ -593,6 +589,6 @@ case "$1" in
fi
done
shift;;
'version'|'-v'|'--version') echo "3.0.2";;
'version'|'-v'|'--version') echo "3.0.3";;
*) exec /opt/am/APP-MANAGER ;;
esac

0 comments on commit a304002

Please sign in to comment.