exodus_update_helper.sh
is a Bash script that automates the process of updating the Exodus cryptocurrency wallet on Linux. The script checks the current installed version, downloads the latest stable release if needed, verifies its hash, extracts the new version, and verifies the update, all while ensuring dependencies are installed.
- Exodus Wallet installed in
~/Exodus-linux-x64/
. - The following command-line tools:
wget
unzip
xdg-user-dir
- Internet connection for downloading updates.
- Clone this repository or download the
exodus_update_helper.sh
file. - Make the script executable:
chmod +x exodus_update_helper.sh
- Run the script from the current directory.
The exodus_update_helper.sh
script performs the following steps:
- Dependency Check: Verifies that
wget
,unzip
, andxdg-user-dir
are installed. If any are missing, the script exits with an error. - Current Version Check: Retrieves the current Exodus version from the installation in
~/Exodus-linux-x64/Exodus
. - Latest Version Retrieval: Fetches the latest stable version and the corresponding hash file URL from the Exodus download page.
- Version Comparison: Compares the current and latest versions. If they are the same, the script exits without updating.
- Download Process: Downloads the latest binary and hash file to the default downloads directory. Skips downloading if files are already present.
- Hash Verification: Verifies the integrity of the downloaded binary using the hash file.
- Update Installation: Extracts the binary files to the existing
~/Exodus-linux-x64/
directory. - Update Verification: Checks that the installed version matches the latest version, confirming a successful update.
This project is licensed under the MIT License. See the LICENSE file for details.