Skip to content
GrammostolaPublic

About

Auto check and if needed download and installation of the latest GE-Proton release

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

Repository files navigation

Intro

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.)

Prerequisites

  • Linux
  • Bun
  • Steam

Installation

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 :) )

Running

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-earlier can be used to delete prior versions of Proton-GE already installed
  • --flatpak should 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.

Contributions

Feel free to create an issue or a PR based on an issue.

Code style

neostandard

License

MIT

About

Auto check and if needed download and installation of the latest GE-Proton release

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages