| .gitignore | ||
| LICENSE | ||
| makefile | ||
| README.md | ||
| requirements.txt | ||
| update-proton-ge.py | ||
Proton GE Updater Script
This Python script automates the process of downloading and managing the latest Proton GE versions for Steam. It fetches the latest Proton GE releases from GitHub, installs them into the Steam compatibility tools directory, and ensures that only the latest major versions and a specified number of their minor versions are kept.
Features
- Automatic Updates: Download and install the latest Proton GE versions.
- Version Management: Retain only the latest major versions and a specified number of minor versions.
- Cross-Platform Support: Works on Linux (including Flatpak) and Windows.
- Configurable: Adjust the number of major and minor versions to keep.
- Progress Bar: Provides a progress bar for downloads using
tqdm. - Error Handling: Improved error handling using Python libraries.
Requirements
-
Python 3.x must be installed.
-
The following Python libraries are required:
tqdmrequests
Install missing packages with:
pip install tqdm requests
Installation
-
Clone the repository:
git clone https://codeberg.org/Tealk/update-proton-ge.git cd update-proton-ge -
Adjust configuration:
- Open the script
update-proton-ge.pyand modify the following variables if needed:# Number of latest major versions to keep NUM_MAJOR_VERSIONS = 2 # Number of latest minor versions to keep per major version NUM_MINOR_VERSIONS = 2
- Open the script
Usage
Run the Python script with:
python3 update-proton-ge.py
The script will automatically detect your Steam installation (native or Flatpak on Linux, or Windows) and install the latest Proton GE versions. It will also clean up older versions based on the configured settings.
Configuration
NUM_MAJOR_VERSIONS: Specifies how many major versions of Proton GE to keep. Default:2.NUM_MINOR_VERSIONS: Specifies how many minor versions per major version to keep. Default:2.
License
This project is licensed under the AGPL-3.0 License. See the LICENSE file for details.