mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-02-04 01:30:36 +03:00
proton: Add destroyprefix verb
This commit is contained in:
parent
d6aec09c05
commit
d4e3c477dd
2
proton
2
proton
@ -1323,6 +1323,8 @@ if __name__ == "__main__":
|
||||
rc = g_session.run()
|
||||
elif sys.argv[1] == "runinprefix":
|
||||
rc = g_session.run_proc([g_proton.wine_bin] + sys.argv[2:])
|
||||
elif sys.argv[1] == "destroyprefix":
|
||||
g_compatdata.remove_tracked_files()
|
||||
elif sys.argv[1] == "getcompatpath":
|
||||
#linux -> windows path
|
||||
path = subprocess.check_output([g_proton.wine_bin, "winepath", "-w", sys.argv[2]], env=g_session.env, stderr=g_session.log_file)
|
||||
|
Loading…
x
Reference in New Issue
Block a user