Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ValveSoftware/Proton.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Eikum <aeikum@codeweavers.com>2018-08-23 17:42:18 +0300
committerAndrew Eikum <aeikum@codeweavers.com>2018-08-23 17:43:12 +0300
commit10012eee179f578724becf4be91888bda0182982 (patch)
treeb379486448db7a8d65a0f8af3048fbb2eb3155c9
parent4d127190a6b78bc1f517139ad6432b37723d6d01 (diff)
proton: Fix null derefproton-3.7-20180823b
-rwxr-xr-xproton4
1 files changed, 4 insertions, 0 deletions
diff --git a/proton b/proton
index d9b37d15..fbb5f879 100755
--- a/proton
+++ b/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":