mirror of
				https://github.com/the-sane/lug-helper.git
				synced 2025-10-31 00:32:46 +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 | ||||
|         ;; | ||||
|     "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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user