mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-04-23 14:53:37 +03:00
proton: Check that we're running as a script
This commit is contained in:
parent
055e095af7
commit
d0346080bd
1
proton
1
proton
@ -660,6 +660,7 @@ class Session:
|
|||||||
self.run_proc([g_proton.wine_bin, "steam"] + sys.argv[2:])
|
self.run_proc([g_proton.wine_bin, "steam"] + sys.argv[2:])
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
if not "STEAM_COMPAT_DATA_PATH" in os.environ:
|
if not "STEAM_COMPAT_DATA_PATH" in os.environ:
|
||||||
log("No compat data path?")
|
log("No compat data path?")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user