mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-26 14:45:48 +03:00
proton: Fix null deref
This commit is contained in:
parent
4d127190a6
commit
10012eee17
4
proton
4
proton
@ -34,6 +34,10 @@ def upgrade_pfx(old_ver):
|
||||
return
|
||||
|
||||
log("Upgrading prefix from " + str(old_ver) + " to " + CURRENT_PREFIX_VERSION + " (" + os.environ["STEAM_COMPAT_DATA_PATH"] + ")")
|
||||
|
||||
if old_ver == None:
|
||||
return
|
||||
|
||||
old_proton_ver, old_prefix_ver = old_ver.split('-')
|
||||
|
||||
if old_proton_ver == "3.7" and old_prefix_ver == "1":
|
||||
|
Loading…
Reference in New Issue
Block a user