mirror of
https://github.com/lutris/lutris
synced 2024-07-05 16:38:42 +00:00
Add a gross hack to tolerate GE-Proton versions of Wine not having architectures on the end of them.
I feel dirty, but it's the best I can do.
This commit is contained in:
parent
ef5436edef
commit
b2a819fb2b
|
@ -212,6 +212,12 @@ def format_version_architecture(base_version: str, arch: Optional[str] = None) -
|
|||
if not base_version:
|
||||
return ""
|
||||
|
||||
# A gross hack, since runner versions could be used with non-Wine runners,
|
||||
# but it so happens we don't. 'GE-Proton' versions arbitrarily do not have
|
||||
# an architecture on them - they are always 64-bit.
|
||||
if base_version.startswith("GE-Proton"):
|
||||
return base_version
|
||||
|
||||
if arch:
|
||||
return "{}-{}".format(base_version, arch)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user