mirror of
https://github.com/tcsenpai/UWINE.git
synced 2025-06-06 11:35:20 +00:00
if exe is 'createprefix' make EXE empty to force proton to create a prefix
This commit is contained in:
parent
3458c21989
commit
104b107441
@ -75,6 +75,11 @@ export PROTON_CRASH_REPORT_DIR='/tmp/ULWGL_crashreports'
|
||||
export FONTCONFIG_PATH=''
|
||||
|
||||
export EXE="$1"
|
||||
if [[ "$EXE" == "createprefix" ]]; then
|
||||
# Hack, leave empty.
|
||||
# forces proton to create a prefix without actually running anything.
|
||||
EXE=""
|
||||
fi
|
||||
shift 1
|
||||
|
||||
me="$(readlink -f "$0")"
|
||||
@ -85,6 +90,3 @@ export STEAM_COMPAT_MOUNTS="$PROTONPATH:$here"
|
||||
|
||||
$here/ULWGL --verb=waitforexitandrun -- "$PROTONPATH"/proton "$PROTON_VERB" "$EXE" "$@"
|
||||
|
||||
# Kill wineserver andpressure vessel in case of lingering processes
|
||||
killall -9 wineserver
|
||||
killall -9 pressure-vessel-adverb
|
||||
|
Loading…
x
Reference in New Issue
Block a user