From a555aa45607562cbe09294457280ba9028650f6b Mon Sep 17 00:00:00 2001 From: Fr4nzD13trich Date: Mon, 22 Dec 2025 18:54:44 +0100 Subject: [PATCH 1/3] Clean up --- test.sh | 12 ---------- todo.md | 69 --------------------------------------------------------- 2 files changed, 81 deletions(-) delete mode 100755 test.sh delete mode 100644 todo.md diff --git a/test.sh b/test.sh deleted file mode 100755 index 7d3f504..0000000 --- a/test.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash -TMP=/tmp/Helium -add_launcher() { - if [ -f "$INSTALL_PATH/helium-browser.AppImage" ] ; then - - - else - echo -e "\n ${RED}Helium AppImage not found! Can't add launcher...${CRS}" - exit - - fi -} \ No newline at end of file diff --git a/todo.md b/todo.md deleted file mode 100644 index a4fb1dc..0000000 --- a/todo.md +++ /dev/null @@ -1,69 +0,0 @@ -# To Do List Helium installer - -## Last Jobs -- Improved Version comparasing -- Clean up function added -- Remover function added -- Dummy functions added for: - - Auto Update - - Script update -- Dependency check fixed -- Launcher function works -- Remover extended -- Readme updated - - -## Add -- Internet connectivity check in [Auto Update Script](https://lab.c95.org/fr4nz/helium-helper/src/branch/main/helium_auto_update.sh) -- Desktop entry updater [Helper Script](https://lab.c95.org/fr4nz/helium-helper/src/branch/main/helium_helper.sh) & [Auto Update Script](https://lab.c95.org/fr4nz/helium-helper/src/branch/main/helium_auto_update.sh) -- Auto update setup - - shell recognition -- Script updater -- Architecture detection -- Uninstaller --> Partially done -- Set alias - -## Repo -- Merge workflow - - Convert URLs from __main__ to __stable__ - - Remove to do list - - Remove comment from script - -## Fix - -## Notes - -```sh -############# TO DO - 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 -############# -``` \ No newline at end of file From 0e6320c658b30fba65519f7c608dfb31f040daa7 Mon Sep 17 00:00:00 2001 From: Fr4nzD13trich Date: Mon, 22 Dec 2025 18:55:15 +0100 Subject: [PATCH 2/3] Clean up --- assets/launcher/helium.desktop.txt | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 assets/launcher/helium.desktop.txt diff --git a/assets/launcher/helium.desktop.txt b/assets/launcher/helium.desktop.txt deleted file mode 100644 index 22ea353..0000000 --- a/assets/launcher/helium.desktop.txt +++ /dev/null @@ -1,24 +0,0 @@ -[Desktop Entry] -Version=1.0 -Name=Helium Web Browser -GenericName=Web Browser -Comment=Access the Internet -Exec=%APP_LOCATION% %U -StartupNotify=true -StartupWMClass=helium -Terminal=false -Icon=%ICON_LOCATION% -Type=Application -Categories=Network;WebBrowser; -MimeType=application/pdf;application/rdf+xml;application/rss+xml;application/xhtml+xml;application/xhtml_xml;application/xml;image/gif;image/jpeg;image/png;image/webp;text/html;text/xml;x-scheme-handler/http;x-scheme-handler/https; -Actions=new-window;new-private-window; -X-AppImage-Version=%APP_VERSION% - -[Desktop Action new-window] -Name=New Window -Exec=%APP_LOCATION% - -[Desktop Action new-private-window] -Name=New Incognito Window -Exec=%APP_LOCATION% --incognito - From e5d47bfa5d97bf40354546d9b8a15cb2c1aaad32 Mon Sep 17 00:00:00 2001 From: Fr4nzD13trich Date: Mon, 22 Dec 2025 18:58:09 +0100 Subject: [PATCH 3/3] Clean up --- helium_helper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helium_helper.sh b/helium_helper.sh index 9e9d41f..8eaaa59 100755 --- a/helium_helper.sh +++ b/helium_helper.sh @@ -126,8 +126,8 @@ add_launcher() { echo if [[ "$CONFIRM_LAUNCHER" == "" || "$CONFIRM_LAUNCHER" == "y" || "$CONFIRM_LAUNCHER" == "Y" ]] ; then - LAUNCHER_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/main/assets/launcher/helium.desktop.template - ICON_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/main/assets/icon/helium.png + LAUNCHER_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/stable/assets/launcher/helium.desktop.template + ICON_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/stable/assets/icon/helium.png LOCAL_VERSION=$($INSTALL_PATH/$APP_NAME.AppImage --version | awk '{print $2}') wget -P $TMP $LAUNCHER_URL -q --show-progress wget -P $TMP $ICON_URL -q --show-progress