helium-helper/README.md

92 lines
2.9 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:20:53 +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... and is distro independent.
2025-12-28 00:19:05 +01:00
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
2026-01-09 00:14:29 +01:00
### Help
2025-12-28 00:19:05 +01:00
```sh
./helium_helper.sh -h
```
2026-01-09 00:14:29 +01:00
---
2025-12-28 00:19:05 +01:00
### 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
```
2026-01-09 00:10:56 +01:00
OPTIONAL : Add alias to `.shellrc` | _working in zsh, bash & fish_
- Default alias
2025-12-28 00:19:05 +01:00
```sh
2026-01-09 00:10:56 +01:00
./helium_helper.sh -a
```
- Custom alias
```sh
./helium_helper.sh -a <ALIAS>
2025-12-28 00:19:05 +01:00
```
---
### Updating
2025-12-28 00:25:25 +01:00
**From launcher** (if added)
2025-12-28 00:19:05 +01:00
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**
2025-12-28 00:25:25 +01:00
2025-12-28 00:19:05 +01:00
Updating can also be done by running:
2026-01-09 00:10:56 +01:00
- Update Helium Browser
```sh
./helium_helper.sh -u
```
- Update Helium Helper
```sh
./helium_helper.sh -S
```
2026-01-09 00:14:29 +01:00
---
2026-01-09 00:10:56 +01:00
### Backing up
Backing up pulls all important files, folders & configuration and compresses an archive. By default it will be stored in `$HOME/.apps/Helium/assets`
- Backup to default path
2025-12-28 00:19:05 +01:00
```sh
2026-01-09 00:10:56 +01:00
./helium_helper.sh -b
2025-12-28 00:19:05 +01:00
```
2026-01-09 00:10:56 +01:00
- Backup to custom path
2025-12-28 00:19:05 +01:00
```sh
2026-01-09 00:10:56 +01:00
./helium_helper.sh -b </PATH/TO/DESTINATION>
2025-12-28 00:19:05 +01:00
```
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
2026-01-09 00:10:56 +01:00
- Installs to `$HOME/.apps/Helium` | changeable in line 31 `INSTALL_PATH`
2025-12-20 14:53:27 +01:00
- Assumes:
2026-01-09 00:10:56 +01:00
- Presence of `$HOME/.apps/Helium` when updating | changeable in line 31 `INSTALL_PATH`
2025-12-27 15:17:00 +01:00
- Executable named `Helium.AppImage`
2026-01-09 00:10:56 +01:00
- Keeps backup archives from
- `Helium.AppImage`
- `helium_helper.sh`
- `helium_launcher_update.sh`
- `Helium.desktop`
- `net.imput.helium`
- Adds desktop launcher to `$HOME/.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:
2026-01-09 00:10:56 +01:00
- Presence of `$HOME/.apps/Helium` when updating | changeable in line 21 `INSTALL_PATH`
2025-12-27 15:17:00 +01:00
- Executable named `Helium.AppImage`
2026-01-09 00:10:56 +01:00
- Loggs to `$HOME/.apps/Helium/assets/logs`
- Keeps backup archives from
- `Helium.AppImage`
- `helium_helper.sh`
- `helium_launcher_update.sh`
- `Helium.desktop`
- `net.imput.helium`
2025-12-28 00:25:25 +01:00
- Run `helium_launcher_update.sh -h` for help
&nbsp;