helium-helper/devdoc.md
2026-01-17 11:18:55 +01:00

2.8 KiB

To Do List Helium installer

Last Jobs

  • Readme updated
  • Desktop Entry updater --> Complete
  • Launcher has an update option now
  • Launcher installer refined
  • Clean Up

  • Script updater
    • Remote script check simplified
  • Remover function extended
    • Alias remover added
    • Script remover added
  • helium_auto_update.sh renamed to helium_launcher_update.sh
  • Desktop notifications added
  • Launcher functions extended
    • Update script option added
    • Show log option added
  • Variables universalized
  • Wiki created

  • sed command fixed in remover
  • ARCH variable added
  • APP_SOURCE variable changed
  • BRANCH variable added
  • FILE_EXTENSION variable added
  • Readme updated
  • Documentation/Wiki updated

  • Shell detection added
  • Alias support for fish added
  • Removal process refined and adapted to fish
  • Browser config backup

  • Arch detection working
  • Clean Up
  • Copy Paste mistake fixed
  • Backup process rewritten
    • Custom backup method to pass as argument
    • Custom backup path to pass as argument
    • Default if left blank
  • Removal process adjusted
  • $1 verifier added
  • Readme updated

  • Notification adjusted for KDE & GNOME
  • Backup compression to pass as argument
  • Restoration process added --> partially
    • Backup selector works
    • Backup decompression works
    • Restoration config generator --> incomplete
    • Restoration function --> incomlete
  • Alias changed to "helium-helper"

Add/To Do

  • Roll back from backup
  • Update Readme
  • Make functional launcher optional
  • Variable transfer script

Repo

  • Merge workflow
    • Convert URLs from main to stable
    • Remove to do list
    • Remove comment from script

Fix

Notes

  • Auto Update
while true ; do
    read -p "  Enable automatic update check on login? (y/N) : " AUTO_UPDATE

    if [[ "$AUTO_UPDATE" == "" || "$AUTO_UPDATE" == "n" || "$AUTO_UPDATE" == "N" ]] ; then
        break

    elif [[ "$AUTO_UPDATE" == "y" || "$AUTO_UPDATE" == "Y" ]] ; then
        if ! [ -f "$PROFILE" ] ; then
            echo -e "\n  ${RED}Following file is missing :\n\n${YEL}$PROFILE\n\n  ${CYN}Please investigate and re-run script !${CRS}"
            exit 1

        else                        
            wget -P $TMP https://lab.c95.org/fr4nz/shell-scripts/src/branch/main/helium-browser/helium_auto_update.sh -q --show-progress
            chmod +x $TMP/helium_auto_update.sh
            mv $TMP/helium_auto_update.sh $INSTALL_PATH/helium_auto_update.sh
            echo >> $PROFILE
            echo "### HELIUM AUTO UPDATE ###" >> $PROFILE
            echo "${INSTALL_PATH}/helium_auto_update.sh" >> $PROFILE
            echo >> $PROFILE
            echo -e "\n  ${GRN}Automatic updates enabled ! ${CRS}\n"
            break

        fi

    else
        echo -e "  ${YEL}Invalid response !${CRS}\n"

    fi

done