mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-03-27 12:49:10 +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()
|
rc = g_session.run()
|
||||||
elif sys.argv[1] == "runinprefix":
|
elif sys.argv[1] == "runinprefix":
|
||||||
rc = g_session.run_proc([g_proton.wine_bin] + sys.argv[2:])
|
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":
|
elif sys.argv[1] == "getcompatpath":
|
||||||
#linux -> windows path
|
#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)
|
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