helium-helper/todo.md

63 lines
1.7 KiB
Markdown
Raw Normal View History

2025-12-22 19:00:24 +01:00
# To Do List Helium installer
## Last Jobs
- Readme updated
2025-12-24 10:54:06 +01:00
- Desktop Entry updater --> Complete
2025-12-23 00:15:33 +01:00
- Launcher has an update option now
2025-12-23 17:47:06 +01:00
- Launcher installer refined
- Clean Up
2025-12-23 18:00:10 +01:00
- Script updater
2025-12-22 19:00:24 +01:00
## Add
- Internet connectivity check in [Auto Update Script](https://lab.c95.org/fr4nz/helium-helper/src/branch/main/helium_auto_update.sh)
- Auto update setup
- shell recognition
- Architecture detection
2025-12-24 10:54:06 +01:00
- Set alias --> Partially
2025-12-23 18:00:10 +01:00
- Roll back from backup
2025-12-24 10:54:06 +01:00
- Config check
2025-12-22 19:00:24 +01:00
## Repo
- Merge workflow
- Convert URLs from __main__ to __stable__
- Remove to do list
- Remove comment from script
## Fix
## Notes
2025-12-23 17:47:06 +01:00
- Auto Update
2025-12-22 19:00:24 +01:00
```sh
2025-12-23 17:47:06 +01:00
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
```