Output cleanup

This commit is contained in:
Fr4nz D13trich 2025-12-23 11:55:03 +01:00
parent a36f13a742
commit fe0546542f

View file

@ -103,7 +103,7 @@ install_helium() {
exit_clean
elif [[ "$CONFIRM_INSTALL" == "n" || "$CONFIRM_INSTALL" == "N" ]] ; then
echo -e "\n ${RED}Installation cancelled!${CRS}\n"
echo -e " ${RED}Cancelled!${CRS}\n"
exit
else
@ -126,8 +126,8 @@ add_launcher() {
echo
if [[ "$CONFIRM_LAUNCHER" == "" || "$CONFIRM_LAUNCHER" == "y" || "$CONFIRM_LAUNCHER" == "Y" ]] ; then
LAUNCHER_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/stable/assets/launcher/helium.desktop.template
ICON_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/stable/assets/icon/helium.png
LAUNCHER_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/main/assets/launcher/helium.desktop.template
ICON_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/main/assets/icon/helium.png
LOCAL_VERSION=$($INSTALL_PATH/$APP_NAME.AppImage --version | awk '{print $2}')
wget -P $TMP $LAUNCHER_URL -q --show-progress
wget -P $TMP $ICON_URL -q --show-progress
@ -141,7 +141,7 @@ add_launcher() {
exit_clean
elif [[ "$CONFIRM_LAUNCHER" == "n" || "$CONFIRM_LAUNCHER" == "N" ]] ; then
echo -e "\n ${RED}Launcher creation cancelled!${CRS}\n"
echo -e " ${RED}Cancelled!${CRS}\n"
exit
else
@ -208,7 +208,7 @@ update_helium() {
break
elif [[ "$CONFIRM" == "n" || "$CONFIRM" == "N" ]] ; then
echo -e " ${RED}Update cancelled!${CRS}\n"
echo -e " ${RED}Cancelled!${CRS}\n"
exit
else
@ -256,7 +256,7 @@ remove_helium() {
exit
elif [[ "$CONFIRM_REMOVE" == "n" || "$CONFIRM_REMOVE" == "N" ]] ; then
echo -e "\n ${RED}Removal cancelled!${CRS}\n"
echo -e " ${RED}Cancelled!${CRS}\n"
exit
else
@ -374,7 +374,6 @@ while getopts ":i,:L,:u,:U,:r,:c,:s,:S,:h" OPTION ; do
i)
echo -e "\n ${YEL}Installing $APP_NAME_LONG...${CRS}"
dependency_check
local_check
install_helium
exit_clean
exit ;;