newestGE is a small nodejs script for downloading the latest release of Proton-GE and unpacking it in the relevant Steam subfolder (which it will create if missing)(if the relevant Steam parent folder isn't found the script will halt and inform). The script will halt and inform (before downloading) if the latest release already appears present in said folder so it should be safe to run at any time. It can optionally delete prior Proton-GE releases from the relevant Steam subfolder.
(It does the same thing as the Installation - Manual instructions on the page referenced above. I was doing it manually again and thought about automating it via Github's API. I also learnt something about streams and pipes. It's here because someone else might find it useful or offer useful advice on how to make it better.)
- Linux
- Bun
- Steam
Clone this repo, install the deps (bun install)
(if it was going to be a lot longer than a oneliner of Bash script that looked a bit complicated I wanted some niceties like a loading indicator :) )
It can make sense on a weekly schedule or so (it shouldn't change the filesystem any if there isn't a newer release)
To run:
bun newestGE.js
Options:
--delete-earliercan be used to delete prior versions of Proton-GE already installed--flatpakshould be used if Steam was installed as a flatpak
❯ bun newestGE.js --delete-earlier
✔ Download complete
✔ Deleting installed earlier ProtonGE versions if present
✔ Extracting archive into the relevant Steam folder
✔ Deleting the downloaded archive file
GE-Proton11-9-x86_64 was installed, please (re)start Steam.
Feel free to create an issue or a PR based on an issue.
neostandard
MIT