Closed daniel-j closed 5 years ago
Again, this is not backwards compatible with Proton 4.2 and earlier.
To make it backwards compatible with Proton 4.2 you could use protonversion(True)
to get current version timestamp.
https://github.com/simons-public/protonfixes/blob/5cb51dc1fb1660a80200f16ed964466ab765786d/protonfixes/gamefixes/424840.py#L13-L14
Sorry, I haven't had a chance to test this yet since my gaming computer is down. I'm going to go ahead and merge this since it fixes a breaking change and put a note on the readme regarding backwards compatibility.
I did a quick fix for supporting new Proton (4.11-2) which changes how env, wine path etc are accessed. You can use this as a reference when making it compatible with newer Proton versions. Thought I'd share.
NOTE: I have not tested the prefix32 stuff. Please test that before merging!
Also, make a new release when done. I want to flag the AUR package (non-git one) as out of date :)