Compare commits
15 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f253e87973 | |||
| da7ca0c5f7 | |||
| dc3e69071e | |||
| 1d8d70c54b | |||
| 685cd78993 | |||
| c6f2f2bd3f | |||
| 69a14a82b6 | |||
| 3e699cb4db | |||
| c86f164430 | |||
| eb18320180 | |||
| 8b2473ee3d | |||
| 6d9b818911 | |||
| 6d190c60bb | |||
| 950ceaf898 | |||
| bb47814565 |
5 changed files with 4 additions and 98 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
||||||
test.sh
|
test.sh
|
||||||
|
devdoc.md
|
||||||
binaries
|
binaries
|
||||||
|
|
@ -80,7 +80,7 @@ Backing up, by default, pulls all important files, folders & configuration and c
|
||||||
### Helium_Launcher_Update.sh
|
### Helium_Launcher_Update.sh
|
||||||
- Update Helium from launcher
|
- Update Helium from launcher
|
||||||
- Assumes:
|
- Assumes:
|
||||||
- Presence of `$HOME/.apps/Helium` when updating | changeable in line 21 `INSTALL_PATH`
|
- Presence of `$HOME/.apps/Helium` when updating | changeable in line 22 `INSTALL_PATH`
|
||||||
- Executable named `Helium.AppImage`
|
- Executable named `Helium.AppImage`
|
||||||
- Loggs to `$HOME/.apps/Helium/assets/logs`
|
- Loggs to `$HOME/.apps/Helium/assets/logs`
|
||||||
- Keeps backup archives from
|
- Keeps backup archives from
|
||||||
|
|
|
||||||
95
devdoc.md
95
devdoc.md
|
|
@ -1,95 +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
|
|
||||||
- Documentation/Wiki updated
|
|
||||||
---
|
|
||||||
- Shell detection added
|
|
||||||
- Alias support for fish added
|
|
||||||
- Removal process refined and adapted to fish
|
|
||||||
- Browser config backup
|
|
||||||
---
|
|
||||||
- Arch detection working
|
|
||||||
- Clean Up
|
|
||||||
- Copy Paste mistake fixed
|
|
||||||
- Backup process rewritten
|
|
||||||
- Custom backup method to pass as argument
|
|
||||||
- Custom backup path to pass as argument
|
|
||||||
- Default if left blank
|
|
||||||
- Removal process adjusted
|
|
||||||
- $1 verifier added
|
|
||||||
- Readme updated
|
|
||||||
|
|
||||||
|
|
||||||
## Add/To Do
|
|
||||||
- Roll back from backup
|
|
||||||
- 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
|
|
||||||
```
|
|
||||||
|
|
@ -39,7 +39,7 @@ LAUNCHER_PATH=$HOME/.local/share/applications
|
||||||
SCRIPT_PATH=$HOME/.local/bin
|
SCRIPT_PATH=$HOME/.local/bin
|
||||||
|
|
||||||
## REMOTE LOCATIONS
|
## 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_REPO_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/$REMOTE_REPO_BRANCH
|
||||||
REMOTE_SCRIPT_URL=$REMOTE_REPO_URL/$SCRIPT_FILE_NAME
|
REMOTE_SCRIPT_URL=$REMOTE_REPO_URL/$SCRIPT_FILE_NAME
|
||||||
APP_SOURCE_URL=https://api.github.com/repos/imputnet/helium-linux/releases/latest
|
APP_SOURCE_URL=https://api.github.com/repos/imputnet/helium-linux/releases/latest
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ ICON=$ASSET_PATH/icon/helium.png
|
||||||
SCRIPT_PATH=$HOME/.local/bin
|
SCRIPT_PATH=$HOME/.local/bin
|
||||||
|
|
||||||
## REMOTE LOCATIONS
|
## 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_REPO_URL=https://lab.c95.org/fr4nz/helium-helper/raw/branch/$REMOTE_REPO_BRANCH
|
||||||
REMOTE_SCRIPT_URL=$REMOTE_REPO_URL/$SCRIPT_FILE_NAME
|
REMOTE_SCRIPT_URL=$REMOTE_REPO_URL/$SCRIPT_FILE_NAME
|
||||||
APP_SOURCE_URL=https://api.github.com/repos/imputnet/helium-linux/releases/latest
|
APP_SOURCE_URL=https://api.github.com/repos/imputnet/helium-linux/releases/latest
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue