helium-helper/devdoc.md

105 lines
2.8 KiB
Markdown
Raw Permalink 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-27 23:33:11 +01:00
---
2025-12-23 18:00:10 +01:00
- Script updater
2025-12-27 14:25:16 +01:00
- 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
2025-12-27 23:33:11 +01:00
---
- sed command fixed in remover
- ARCH variable added
- APP_SOURCE variable changed
- BRANCH variable added
- FILE_EXTENSION variable added
2025-12-28 00:19:05 +01:00
- Readme updated
2025-12-28 14:11:40 +01:00
- Documentation/Wiki updated
---
- Shell detection added
- Alias support for fish added
- Removal process refined and adapted to fish
- Browser config backup
2026-01-08 23:44:14 +01:00
---
- Arch detection working
- Clean Up
- Copy Paste mistake fixed
- Backup process rewritten
2026-01-10 12:07:17 +01:00
- Custom backup method to pass as argument
- Custom backup path to pass as argument
2026-01-08 23:44:14 +01:00
- Default if left blank
- Removal process adjusted
2026-01-10 12:07:17 +01:00
- $1 verifier added
- Readme updated
2026-01-11 22:27:22 +01:00
---
- Notification adjusted for KDE & GNOME
2026-01-17 11:18:55 +01:00
- 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"
2025-12-22 19:00:24 +01:00
2025-12-27 14:25:16 +01:00
## Add/To Do
2025-12-23 18:00:10 +01:00
- Roll back from backup
2025-12-27 14:25:16 +01:00
- Update Readme
- Make functional launcher optional
2026-01-11 22:27:22 +01:00
- Variable transfer script
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
```