mirror of
https://github.com/the-sane/lug-helper.git
synced 2025-07-01 19:30:38 +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:
@ -64,10 +64,10 @@ case "$1" in
|
|||||||
cd "$WINEPREFIX"; /usr/bin/env bash --norc; exit 0
|
cd "$WINEPREFIX"; /usr/bin/env bash --norc; exit 0
|
||||||
;;
|
;;
|
||||||
"config")
|
"config")
|
||||||
/usr/bin/env bash --norc -c "winecfg"; exit 0
|
/usr/bin/env bash --norc -c "${wine_path}/winecfg"; exit 0
|
||||||
;;
|
;;
|
||||||
"controllers")
|
"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
|
esac
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user