No description
Find a file
2025-07-05 12:07:10 +02:00
.gitignore update readme 2025-04-12 20:40:25 +02:00
LICENSE init 2024-09-05 19:45:16 +02:00
makefile Add Makefile for Python virtual environment setup 2025-07-05 12:07:10 +02:00
README.md update readme 2025-04-12 20:40:25 +02:00
requirements.txt Add basic dependencies to requirements.txt 2025-07-05 11:58:35 +02:00
update-proton-ge.py fix filter 2025-06-30 10:03:20 +02:00

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:

    • tqdm
    • requests

    Install missing packages with:

    pip install tqdm requests
    

Installation

  1. Clone the repository:

    git clone https://codeberg.org/Tealk/update-proton-ge.git
    cd update-proton-ge
    
  2. Adjust configuration:

    • Open the script update-proton-ge.py and 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
      

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.