Vysp3r / ProtonPlus

A modern compatibility tools manager for Linux.
GNU General Public License v3.0
212 stars 12 forks source link

[FEATURE] Always up to date version of a runner #135

Open rokam opened 1 year ago

rokam commented 1 year ago

Describe the solution you'd like Be able to have a runner's path that contains the latest version there. Something like Proton Experimental on Steam. That way, the game that uses that runner will always use the up-to-date version.

Also, this will require a background process to keep it up to date.

Explanation Download ProtonGE Updated, this will add the most recent version to ~/.steam/steam/compatibilitytools.d/ProtonGE\ Updated/.

And ProtonGE Updated should appear in the combobox: image

Vysp3r commented 1 year ago

Yeah that should be do-able. I'll need to learn how to make a background process and how to start an application when the computer opens for that.

One problem that I may face is let's say there's a new version available, but you're currently playing a game on Steam. How am I supposed to know you're playing? I could ask you for your Steam username and use the steam API to check if you're playing, but what if you put yourself in offline mode. Do you have any idea on how to fix that problem?

rokam commented 1 year ago

What about just check process running? When running proton-ge I do get this:

$ ps -aux
python3 /usr/share/steam/compatibilitytools.d/proton-ge-custom/proton waitforexitandrun /jogos/SteamLibrary/steamapps/common/Fall Guys/FallGuys_client.exe
Vysp3r commented 1 year ago

Oh yeah you're right. There's nothing stopping me now. It might take some time since I need to learn new things.

RouHim commented 10 months ago

An alternative implementation could be that it can be updated via the command line. Something like "protonplus update all" or "protonplus update proton wine" This would also allow integration into programs like topgrade.

Vysp3r commented 10 months ago

I still have some fixing to do for the next release (v0.4.7), but once I am done with it I was planning on working on this request along side https://github.com/Vysp3r/ProtonPlus/issues/148. After that I don't mind adding command lines for different stuff.