Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion setup-stage1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ if [[ $MANAGED_WINE == *"Managed"* ]]; then
# For older XLCore versions
XLCORE_WINE_BASE_DIR="$HOME/.xlcore/compatibilitytool/beta"
fi
XLCORE_WINE_VERSION=$(ls -1tr $XLCORE_WINE_BASE_DIR | tail -n1)
XLCORE_WINE_VERSION=$(ls -1trd "$XLCORE_WINE_BASE_DIR"/*/ | awk -F/ '{print $(NF-1)}' | tail -n1)
PROTON_PATH="$XLCORE_WINE_BASE_DIR/$XLCORE_WINE_VERSION/bin/wine"
else
# Customized wine doesn't actually require us to find the version, since the full path is stored in the ini file.
Expand Down