mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-04-28 16:19:11 +00:00
use $wine_path
when running winecfg
or joy.cpl
Otherwise, it uses system Wine, which isn't bad per se, but if someone installed a runner with staging patches, they will expect to see *Staging* and *Input* tabs.
This commit is contained in:
parent
855e94f942
commit
8fca12d0d3
@ -64,10 +64,10 @@ case "$1" in
|
||||
cd "$WINEPREFIX"; /usr/bin/env bash --norc; exit 0
|
||||
;;
|
||||
"config")
|
||||
/usr/bin/env bash --norc -c "winecfg"; exit 0
|
||||
/usr/bin/env bash --norc -c "${wine_path}/winecfg"; exit 0
|
||||
;;
|
||||
"controllers")
|
||||
/usr/bin/env bash --norc -c "wine control joy.cpl"; exit 0
|
||||
/usr/bin/env bash --norc -c "${wine_path}/wine control joy.cpl"; exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user