proton: Fix translatepath verbs
This commit is contained in:
parent
b782a37bf1
commit
37eb221d95
1 changed files with 2 additions and 2 deletions
4
proton
4
proton
|
@ -296,11 +296,11 @@ if sys.argv[1] == "run":
|
|||
elif sys.argv[1] == "getcompatpath":
|
||||
#linux -> windows path
|
||||
path = subprocess.check_output([wine_path, "winepath", "-w", sys.argv[2]], env=env, stderr=open("/dev/null", "w"))
|
||||
stdout.write(path)
|
||||
sys.stdout.write(path)
|
||||
elif sys.argv[1] == "getnativepath":
|
||||
#windows -> linux path
|
||||
path = subprocess.check_output([wine_path, "winepath", sys.argv[2]], env=env, stderr=open("/dev/null", "w"))
|
||||
stdout.write(path)
|
||||
sys.stdout.write(path)
|
||||
else:
|
||||
log("Need a verb.")
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Reference in a new issue