mirror of
https://github.com/tcsenpai/UWINE.git
synced 2025-06-07 03:55:21 +00:00
dont make these files if they already exist
This commit is contained in:
parent
79dd327fbd
commit
3458c21989
@ -12,8 +12,12 @@ if [[ $WINEPREFIX ]]; then
|
|||||||
if [[ ! -d "$WINEPREFIX" ]]; then
|
if [[ ! -d "$WINEPREFIX" ]]; then
|
||||||
mkdir -p "$WINEPREFIX"
|
mkdir -p "$WINEPREFIX"
|
||||||
fi
|
fi
|
||||||
ln -s "$WINEPREFIX" "$WINEPREFIX"/pfx
|
if [[ ! -d "$WINEPREFIX"/pfx ]]; then
|
||||||
touch "$WINEPREFIX"/tracked_files
|
ln -s "$WINEPREFIX" "$WINEPREFIX"/pfx
|
||||||
|
fi
|
||||||
|
if [[ ! -f "$WINEPREFIX"/tracked_files ]]; then
|
||||||
|
touch "$WINEPREFIX"/tracked_files
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
export PROTONPATH="$PROTONPATH"
|
export PROTONPATH="$PROTONPATH"
|
||||||
export ULWGL_ID="$GAMEID"
|
export ULWGL_ID="$GAMEID"
|
||||||
@ -81,3 +85,6 @@ export STEAM_COMPAT_MOUNTS="$PROTONPATH:$here"
|
|||||||
|
|
||||||
$here/ULWGL --verb=waitforexitandrun -- "$PROTONPATH"/proton "$PROTON_VERB" "$EXE" "$@"
|
$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