| assets | ||
| .gitignore | ||
| devdoc.md | ||
| helium_helper.sh | ||
| helium_launcher_update.sh | ||
| launcher-update-helium | ||
| README.md | ||
| update-helium | ||
Helium Bowser installer & updater
Purpose
This script was initially designed to just update my Helium browser but over time and interest it got more functional and universal. It includes functions to install, update, remove, add launcher, etc... and is distro independent.
With "little" tinkering it should be possible to apply this script to install, update & configure many kinds of releases from source, like Debian packages, AppImages, binaries, etc...
Usage
Help
./helium_helper.sh -h
First Install
To initally install Helium browser via this script, download helium_helper.sh and make it executable:
wget https://lab.c95.org/fr4nz/helium-helper/raw/branch/main/helium_helper.sh && chmod +x helium_helper.sh
Run script with install parameter -i
./helium_helper.sh -i
Add alias to .shellrc | optional
./helium_helper.sh -a ### ONLY TESTED WITH zsh & bash
Updating
From launcher (if added)
Checking for the latest version and updating can simply be done for the browser as well as the script by right clicking the app icon and choosing either update option, which will be run by helium_launcher_update.sh. This will backup all files that are being updated and write a log.
Terminal
Updating can also be done by running:
./helium_helper.sh -u ### UPDATE APP
./helium_helper.sh -S ### UPDATE SCRIPT
Since this script is interactive, it doesn't keep logs.
Overview
Helium_Helper.sh
- Interactive installer, updater & configuration script
- Installs to
/home/<USER>/.apps/Helium| changeable in line 28INSTALL_PATH - Assumes:
- Presence of
/home/<USER>/.apps/Heliumwhen updating | changeable in line 28INSTALL_PATH - Executable named
Helium.AppImage
- Presence of
- Keeps backups of
Helium.AppImage-->Helium.AppImage.oldhelium_helper.sh-->helium_helper.sh.oldhelium_launcher_update.sh-->helium_launcher_update.sh.oldHelium.desktop-->Helium.desktop.oldwhich will be overwritten at every update
- Adds desktop launcher to
/home/<USER>/.local/share/applications - Adds options to launcher which are run by
helium_launcher_updater.sh- Update Helium
- Update Script
- View Log
- Run
helium_helper.sh -hfor help
Helium_Launcher_Update.sh
- Update Helium from launcher
- Assumes:
- Presence of
/home/<USER>/.apps/Heliumwhen updating | changeable in line 19INSTALL_PATH - Executable named
Helium.AppImage
- Presence of
- Loggs to
/home/<USER>/.apps/Helium/assets/logs - Keeps backups of
Helium.AppImage-->Helium.AppImage.oldhelium_helper.sh-->helium_helper.sh.oldhelium_launcher_update.sh-->helium_launcher_update.sh.oldHelium.desktop-->Helium.desktop.oldwhich will be overwritten at every update
- Run
helium_launcher_update.sh -hfor help