helium-helper/README.md

70 lines
2.8 KiB
Markdown
Raw Normal View History

2025-12-20 14:53:27 +01:00
# Helium Bowser installer & updater
2025-12-27 15:17:00 +01:00
## Purpose
2025-12-28 00:19:05 +01:00
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...
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
```sh
./helium_helper.sh -h
```
### First Install
To initally install Helium browser via this script, download helium_helper.sh and make it executable:
```sh
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_
```sh
./helium_helper.sh -i
```
Add alias to `.shellrc` | _optional_
```sh
./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:
```sh
./helium_helper.sh -u ### UPDATE APP
```
```sh
./helium_helper.sh -S ### UPDATE SCRIPT
```
Since this script is interactive, it doesn't keep logs.
2025-12-20 14:53:27 +01:00
## Overview
### Helium_Helper.sh
2025-12-27 15:17:00 +01:00
- Interactive installer, updater & configuration script
2025-12-24 13:03:16 +01:00
- Installs to `/home/<USER>/.apps/Helium` | changeable in line 28 `INSTALL_PATH`
2025-12-20 14:53:27 +01:00
- Assumes:
2025-12-24 13:03:16 +01:00
- Presence of `/home/<USER>/.apps/Helium` when updating | changeable in line 28 `INSTALL_PATH`
2025-12-27 15:17:00 +01:00
- Executable named `Helium.AppImage`
- Keeps backups of
- `Helium.AppImage` --> `Helium.AppImage.old`
- `helium_helper.sh` --> `helium_helper.sh.old`
- `helium_launcher_update.sh` --> `helium_launcher_update.sh.old`
- `Helium.desktop` --> `Helium.desktop.old`
which will be overwritten at every update
2025-12-22 18:51:38 +01:00
- Adds desktop launcher to `/home/<USER>/.local/share/applications`
2025-12-27 15:17:00 +01:00
- Adds options to launcher which are run by `helium_launcher_updater.sh`
- Update Helium
- Update Script
- View Log
- Run `helium_helper.sh -h` for help
---
### Helium_Launcher_Update.sh
- Update Helium from launcher
2025-12-20 14:53:27 +01:00
- Assumes:
2025-12-27 15:17:00 +01:00
- Presence of `/home/<USER>/.apps/Helium` when updating | changeable in line 19 `INSTALL_PATH`
- Executable named `Helium.AppImage`
- Loggs to `/home/<USER>/.apps/Helium/assets/logs`
- Keeps backups of
- `Helium.AppImage` --> `Helium.AppImage.old`
- `helium_helper.sh` --> `helium_helper.sh.old`
- `helium_launcher_update.sh` --> `helium_launcher_update.sh.old`
- `Helium.desktop` --> `Helium.desktop.old`
which will be overwritten at every update
2025-12-27 15:21:24 +01:00
- Run `helium_launcher_update.sh -h` for help