shaddaaap already (get rid of error spam from trying to create symlinks that may already exist)

This commit is contained in:
GloriousEggroll 2024-02-02 16:10:53 -07:00
parent cfb7121a38
commit 211fdc47b7

View File

@ -15,14 +15,14 @@ if [[ $WINEPREFIX ]]; then
export PROTON_DLL_COPY="*" export PROTON_DLL_COPY="*"
fi fi
if [[ ! -d "$WINEPREFIX"/pfx ]]; then if [[ ! -d "$WINEPREFIX"/pfx ]]; then
ln -s "$WINEPREFIX" "$WINEPREFIX"/pfx ln -s "$WINEPREFIX" "$WINEPREFIX"/pfx &> /dev/null
fi fi
if [[ ! -f "$WINEPREFIX"/tracked_files ]]; then if [[ ! -f "$WINEPREFIX"/tracked_files ]]; then
touch "$WINEPREFIX"/tracked_files touch "$WINEPREFIX"/tracked_files
fi fi
if [[ ! -f "$WINEPREFIX/dosdevices/" ]]; then if [[ ! -f "$WINEPREFIX/dosdevices/" ]]; then
mkdir -p "$WINEPREFIX"/dosdevices mkdir -p "$WINEPREFIX"/dosdevices
ln -s "../drive_c" "$WINEPREFIX/dosdevices/c:" ln -s "../drive_c" "$WINEPREFIX/dosdevices/c:" &> /dev/null
fi fi
fi fi
export PROTONPATH="$PROTONPATH" export PROTONPATH="$PROTONPATH"