diff options
author | Stelios Tsampas | 2021-10-19 16:34:25 +0300 |
---|---|---|
committer | Stelios Tsampas | 2021-10-19 19:31:12 +0300 |
commit | cafa669d03cd478517d7debe3c47e1e952cc4d83 (patch) | |
tree | f413c597af830a3128df4cb14bce7cc64f795344 /proton-disable_lock.patch | |
parent | 3883d9f9eef923bf54ecb62ae8d26026a1596a76 (diff) | |
download | aur-cafa669d03cd478517d7debe3c47e1e952cc4d83.tar.gz |
Merge with proton-native package
Diffstat (limited to 'proton-disable_lock.patch')
-rw-r--r-- | proton-disable_lock.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/proton-disable_lock.patch b/proton-disable_lock.patch new file mode 100644 index 000000000000..25feb94cb148 --- /dev/null +++ b/proton-disable_lock.patch @@ -0,0 +1,31 @@ +diff --git a/proton b/proton +index 4423e05..becbbcc 100755 +--- a/proton ++++ b/proton +@@ -291,7 +291,6 @@ class Proton: + self.user_settings_file = self.path("user_settings.py") + self.wine_bin = self.bin_dir + "wine" + self.wineserver_bin = self.bin_dir + "wineserver" +- self.dist_lock = FileLock(self.path("dist.lock"), timeout=-1) + + def path(self, d): + return self.base_dir + d +@@ -1247,8 +1246,6 @@ if __name__ == "__main__": + + g_proton = Proton(os.path.dirname(sys.argv[0])) + +- if g_proton.need_tarball_extraction(): +- g_proton.extract_tarball() + + g_compatdata = CompatData(os.environ["STEAM_COMPAT_DATA_PATH"]) + +@@ -1257,7 +1254,8 @@ if __name__ == "__main__": + g_session.init_wine() + + if g_proton.missing_default_prefix(): +- g_proton.make_default_prefix() ++ log("Default prefix is missing, something is very wrong.") ++ sys.exit(1) + + g_session.init_session(sys.argv[1] != "runinprefix") + |