https://github.com/royborgen/update_simplex
A shell script that checks if you have the latest version if the SimpleX Chat Desktop AppImage and fetches it from github
https://github.com/royborgen/update_simplex
simplex updater
Last synced: 9 months ago
JSON representation
A shell script that checks if you have the latest version if the SimpleX Chat Desktop AppImage and fetches it from github
- Host: GitHub
- URL: https://github.com/royborgen/update_simplex
- Owner: royborgen
- License: gpl-2.0
- Created: 2024-08-14T15:02:21.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-22T21:11:34.000Z (9 months ago)
- Last Synced: 2025-03-22T21:34:18.512Z (9 months ago)
- Topics: simplex, updater
- Language: Shell
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SimpleX Chat Desktop AppImage Updater
This repository contains a shell script designed to automatically check for updates to the SimpleX Chat Desktop AppImage and download the latest version if available. This ensures you always have the most recent features and security patches.If SimpleX is not present, the script will download it.
## Features
- Automatically checks for the latest release of the SimpleX Chat Desktop AppImage from GitHub.
- Downloads the latest version if an update is available.
- Removes the old AppImage version before installing the new one.
- Maintains a version file to keep track of the currently installed version.
## Prerequisites
- `curl`: Used for fetching the latest release information and downloading the AppImage.
## Usage
1. **Clone the Repository**
```bash
git clone https://github.com/royborgen/update_simplex.git
```
2. **Make the Script Executable**
```bash
chmod +x update_simplex.sh
```
3. **Modify script and change the variable `target_dir` to your wanted installdir**
3. **Run the Script**
```bash
./update_simplex.sh
```
## Script Overview
- The script checks the SimpleX Chat GitHub repository for the latest release information.
- If the directory `target_dir` does not exist, it creates it and initializes a `version.txt` file with version `0`.
- The script compares the latest version from GitHub with the installed version.
- If a newer version is found, the script removes the old AppImage, downloads the new one, updates the permissions, and writes the new version to `version.txt`.
## Troubleshooting
- **Permission Issues**: Ensure the script and the app directory have the correct permissions.
- **curl Not Installed**: Install `curl` using your package manager (`apt`, `yum`, `brew`, etc.).
## License
This project is open source, licensed under the GPL-2.0 license. See the projects `LICENSE` file for details.