summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--valoviini/winetricks.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/valoviini/winetricks.py b/valoviini/winetricks.py
index 00c7c15..8a620ae 100644
--- a/valoviini/winetricks.py
+++ b/valoviini/winetricks.py
@@ -80,7 +80,7 @@ class WineTricks(object):
80 done_cb(output_dict) 80 done_cb(output_dict)
81 81
82 prefix = "default" 82 prefix = "default"
83 cmd_env = "env WINEDLLOVERRIDES=winemenubuilder.exe=d WINEPREFIX=" + os.path.join(CONFIG_PATH, "prefixes", prefix) 83 cmd_env = "env WINEDLLOVERRIDES=winemenubuilder.exe=d WINEPREFIX='" + os.path.join(CONFIG_PATH, "prefixes", prefix) + "'"
84 cmd_args = " ".join((cmd_env, self.script_path, "list-all")) 84 cmd_args = " ".join((cmd_env, self.script_path, "list-all"))
85 flags = ECORE_EXE_PIPE_READ | ECORE_EXE_PIPE_READ_LINE_BUFFERED 85 flags = ECORE_EXE_PIPE_READ | ECORE_EXE_PIPE_READ_LINE_BUFFERED
86 86
@@ -98,7 +98,7 @@ class WineTricks(object):
98 def del_cb(exe, ev, installed_tricks): 98 def del_cb(exe, ev, installed_tricks):
99 done_cb(installed_tricks) 99 done_cb(installed_tricks)
100 100
101 cmd_env = "env WINEDLLOVERRIDES=winemenubuilder.exe=d WINEPREFIX=" + os.path.join(CONFIG_PATH, "prefixes", prefix) 101 cmd_env = "env WINEDLLOVERRIDES=winemenubuilder.exe=d WINEPREFIX='" + os.path.join(CONFIG_PATH, "prefixes", prefix) + "'"
102 cmd_args = " ".join((cmd_env, self.script_path, "list-installed")) 102 cmd_args = " ".join((cmd_env, self.script_path, "list-installed"))
103 flags = ECORE_EXE_PIPE_READ | ECORE_EXE_PIPE_READ_LINE_BUFFERED 103 flags = ECORE_EXE_PIPE_READ | ECORE_EXE_PIPE_READ_LINE_BUFFERED
104 104
@@ -107,7 +107,7 @@ class WineTricks(object):
107 exe.on_del_event_add(del_cb, installed_tricks) 107 exe.on_del_event_add(del_cb, installed_tricks)
108 108
109 def launch_trick(self, prefix, trick): 109 def launch_trick(self, prefix, trick):
110 cmd_env = "env WINEDLLOVERRIDES=winemenubuilder.exe=d WINEPREFIX=" + os.path.join(CONFIG_PATH, "prefixes", prefix) 110 cmd_env = "env WINEDLLOVERRIDES=winemenubuilder.exe=d WINEPREFIX='" + os.path.join(CONFIG_PATH, "prefixes", prefix) + "'"
111 cmd_args = " ".join((cmd_env, self.script_path, "--force", trick)) 111 cmd_args = " ".join((cmd_env, self.script_path, "--force", trick))
112 flags = ECORE_EXE_PIPE_READ | ECORE_EXE_PIPE_READ_LINE_BUFFERED 112 flags = ECORE_EXE_PIPE_READ | ECORE_EXE_PIPE_READ_LINE_BUFFERED
113 113