helium-helper/README.md

93 lines
3.2 KiB
Markdown
Raw Permalink Normal View History

2025-12-20 14:53:27 +01:00
# Helium Bowser installer & updater
2025-12-27 15:17:00 +01:00
## Purpose
2026-01-10 12:06:50 +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... It's supposed to run in user space and is (Linux) distro independent I suppose.
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
2026-01-11 17:49:55 +01:00
To initally install Helium browser via this script, download `helium_helper.sh` and make it executable:
2025-12-28 00:19:05 +01:00
```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_
2026-01-10 12:06:50 +01:00
- Default install directory = `$HOME/.apps/Helium`
2025-12-28 00:19:05 +01:00
```sh
./helium_helper.sh -i
```
2026-01-10 12:06:50 +01:00
**OPTIONAL** : Add alias to `.shellrc` | _working in zsh, bash & fish_
- Default alias = `update-helium`
2025-12-28 00:19:05 +01:00
```sh
2026-01-09 00:10:56 +01:00
./helium_helper.sh -a
```
2026-01-10 12:06:50 +01:00
2025-12-28 00:19:05 +01:00
---
### Updating
2026-01-10 12:06:50 +01:00
**From launcher** (if added during install or by running `./helium_helper.sh -l`)
2025-12-28 00:25:25 +01:00
2026-01-11 17:49:55 +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 and configuration and write a log.
2025-12-28 00:19:05 +01:00
**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
2026-01-10 12:06:50 +01:00
Backing up, by default, pulls all important files, folders & configuration and compresses an archive, which is stored in `$HOME/.apps/Helium/assets`
- Default backup
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
```
2026-01-10 12:06:50 +01:00
**NOTE:** The backup path specified won't be overridden within the script yet. Working on it...
**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-10 12:06:50 +01:00
- Installs to `$HOME/.apps/Helium` | changeable in line 32 `INSTALL_PATH`
2025-12-20 14:53:27 +01:00
- Assumes:
2026-01-10 12:06:50 +01:00
- Presence of `$HOME/.apps/Helium` when updating | changeable in line 32 `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;