mirror of
https://github.com/lutris/lutris
synced 2024-11-02 14:27:51 +00:00
Fix xboxdrv calls
This commit is contained in:
parent
057857d47e
commit
3f876e328e
1 changed files with 5 additions and 4 deletions
|
@ -235,11 +235,12 @@ class Game(object):
|
|||
joy2key_thread.start()
|
||||
|
||||
def xboxdrv_start(self, config):
|
||||
command = ("pkexec xboxdrv --daemon --detach-kernel-driver "
|
||||
"--dbus session --silent %s"
|
||||
% config)
|
||||
command = [
|
||||
"pkexec", "xboxdrv", "--daemon", "--detach-kernel-driver",
|
||||
"--dbus", "session", "--silent"
|
||||
] + config.split()
|
||||
logger.debug("xboxdrv command: %s", command)
|
||||
self.xboxdrv_thread = LutrisThread(command)
|
||||
self.xboxdrv_thread = LutrisThread(command, env=os.environ)
|
||||
self.xboxdrv_thread.set_stop_command(self.xboxdrv_stop)
|
||||
self.xboxdrv_thread.start()
|
||||
|
||||
|
|
Loading…
Reference in a new issue