From 950ceaf8982dceb3d79c8234731492b2091526f3 Mon Sep 17 00:00:00 2001 From: Fr4nz D13trich Date: Sun, 28 Dec 2025 00:37:57 +0100 Subject: [PATCH] Branch value changed --- devdoc.md | 82 --------------------------------------- helium_helper.sh | 2 +- helium_launcher_update.sh | 2 +- 3 files changed, 2 insertions(+), 84 deletions(-) delete mode 100644 devdoc.md diff --git a/devdoc.md b/devdoc.md deleted file mode 100644 index 03b693a..0000000 --- a/devdoc.md +++ /dev/null @@ -1,82 +0,0 @@ -# To Do List Helium installer - -## Last Jobs -- Readme updated -- Desktop Entry updater --> Complete -- Launcher has an update option now -- Launcher installer refined -- Clean Up ---- -- Script updater - - Remote script check simplified -- Remover function extended - - Alias remover added - - Script remover added -- helium_auto_update.sh renamed to helium_launcher_update.sh -- Desktop notifications added -- Launcher functions extended - - Update script option added - - Show log option added -- Variables universalized -- Wiki created ---- -- sed command fixed in remover -- ARCH variable added -- APP_SOURCE variable changed -- BRANCH variable added -- FILE_EXTENSION variable added -- Readme updated - -## Add/To Do -- Architecture detection -- Set alias --> Partially - - shell recognition missing -- Roll back from backup -- Config check -- Simplification (more for loops) & Clean Up -- Update Readme -- Make functional launcher optional - -## Repo -- Merge workflow - - Convert URLs from __main__ to __stable__ - - Remove to do list - - Remove comment from script - -## Fix - -## Notes - -- Auto Update -```sh -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 -``` diff --git a/helium_helper.sh b/helium_helper.sh index 78ae4c8..0c745a4 100755 --- a/helium_helper.sh +++ b/helium_helper.sh @@ -34,7 +34,7 @@ LAUNCHER_PATH=$HOME/.local/share/applications SCRIPT_PATH=$HOME/.local/bin ## REMOTE LOCATIONS -REMOTE_REPO_BRANCH="main" +REMOTE_REPO_BRANCH="stable" REMOTE_REPO_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/$REMOTE_REPO_BRANCH REMOTE_SCRIPT_URL=$REMOTE_REPO_URL/$SCRIPT_FILE_NAME APP_SOURCE_URL=https://api.github.com/repos/imputnet/helium-linux/releases/latest diff --git a/helium_launcher_update.sh b/helium_launcher_update.sh index 332d100..29d641c 100755 --- a/helium_launcher_update.sh +++ b/helium_launcher_update.sh @@ -26,7 +26,7 @@ ICON=$ASSET_PATH/icon/helium.png SCRIPT_PATH=$HOME/.local/bin ## REMOTE LOCATIONS -REMOTE_REPO_BRANCH="main" +REMOTE_REPO_BRANCH="stable" REMOTE_REPO_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/$REMOTE_REPO_BRANCH REMOTE_SCRIPT_URL=$REMOTE_REPO_URL/$SCRIPT_FILE_NAME APP_SOURCE_URL=https://api.github.com/repos/imputnet/helium-linux/releases/latest