{"id":27118049,"url":"https://github.com/royborgen/update-ge-proton","last_synced_at":"2025-04-07T06:50:02.783Z","repository":{"id":248148548,"uuid":"827891170","full_name":"royborgen/update-ge-proton","owner":"royborgen","description":"A shell script that checks if you have the latest release of GE-Proton installed, if not it downloads it and unpacks the tarball ","archived":false,"fork":false,"pushed_at":"2024-12-05T20:28:21.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-05T20:31:58.816Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/royborgen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-12T15:49:58.000Z","updated_at":"2024-12-05T20:28:24.000Z","dependencies_parsed_at":"2024-12-05T20:37:10.392Z","dependency_job_id":null,"html_url":"https://github.com/royborgen/update-ge-proton","commit_stats":null,"previous_names":["royborgen/update-ge-proton"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royborgen%2Fupdate-ge-proton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royborgen%2Fupdate-ge-proton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royborgen%2Fupdate-ge-proton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/royborgen%2Fupdate-ge-proton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/royborgen","download_url":"https://codeload.github.com/royborgen/update-ge-proton/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247608149,"owners_count":20965950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-04-07T06:50:02.254Z","updated_at":"2025-04-07T06:50:02.772Z","avatar_url":"https://github.com/royborgen.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Update GE-Proton\n\nThis script improves upon the original GE-Proton installation script by automating the update process and ensuring that unnecessary installations are avoided. The script will download and install the latest version of GE-Proton only if it is not already installed.\n\n## Script Logic\n\n1. **Fetch Latest Release**: Queries the latest tarball version from the GitHub API for GE-Proton.\n2. **Version Check**: Confirms whether the latest version is already installed in `$HOME/.steam/root/compatibilitytools.d/`.\n3. **Temporary Workspace**: Creates a temporary working directory (`/tmp/proton-ge-custom/`) for downloading files.\n4. **Download Process**:\n   - Downloads the tarball and its corresponding checksum.\n   - Verifies the tarball’s integrity using the checksum before proceeding.\n5. **Installation Directory Management**:\n   - Creates the required Steam compatibility tools directory (`$HOME/.steam/root/compatibilitytools.d/`) if it doesn’t exist.\n   - Extracts the tarball into this directory.\n6. **Cleanup**: Deletes the temporary working directory once the installation is complete.\n\n## Key Improvements\n\n- **Version Check:** Prevents redundant downloads and installations by detecting whether the latest release is already installed.\n- **Enhanced Usability:** Uses dynamic variables for paths and version names, making the script easier to modify and read.\n- **Cleanliness:** Automatically removes the temporary working directory after installation, ensuring no leftover files.\n\n## Usage\n\nEnsure the script is executable:\n\n```bash\nchmod +x update-ge-proton.sh\n```\n\nExecute the script: \n```bash\n./update-ge-proton.sh\n\n```\n\n## Acknowledgments\n\nA special thanks to GloriousEggroll for developing GE-Proton and continuously improving Linux gaming. For more information about the project and its releases, visit the [GE-Proton project on GitHub.](https://github.com/GloriousEggroll/proton-ge-custom).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyborgen%2Fupdate-ge-proton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Froyborgen%2Fupdate-ge-proton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Froyborgen%2Fupdate-ge-proton/lists"}