Skip to content
Open
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion dependency-resolvers/arch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ ARCH_MISC() {
echo "You must reboot after applying these settings."
exit 1
;;
*)
"wine_deps")
echo "Please refer to the lutris documentation here:"
echo "https://github.com/lutris/docs/blob/master/WineDependencies.md"
Expand Down
4 changes: 2 additions & 2 deletions setup-stage1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
. helpers/funcs.sh
. helpers/ensure-aur-xlcore.sh

. config/xlcore.sh
# Determine where the user wants to install the tools
. config/ffxiv-tools-location.sh

Expand Down Expand Up @@ -134,7 +133,7 @@ printf -v FFXIV_ENVIRON_FINAL '%s\nexport XIVLAUNCHER_PATH=%q' "$FFXIV_ENVIRON_F
MANAGED_WINE=$(grep 'WineStartupType' $HOME/.xlcore/launcher.ini | sed 's/WineStartupType=\(.*\)/\1/')
if [[ $MANAGED_WINE == *"Managed"* ]]; then
# Find the actual wine version name inside the XLCore directory.
XLCORE_WINE_VERSION=$(ls -1tr $HOME/.xlcore/compatibilitytool/beta | tail -n1)
XLCORE_WINE_VERSION=$(basename "$(ls -1trd $HOME/.xlcore/compatibilitytool/beta/*/)" | tail -n1)
# This is hard-coded in XLCore, and is vanishingly unlikely to ever change.
PROTON_PATH="$HOME/.xlcore/compatibilitytool/beta/$XLCORE_WINE_VERSION/bin/wine"
else
Expand Down Expand Up @@ -162,6 +161,7 @@ echo "FFXIV Game Location: $FFXIV_PATH"
echo "wine Executable Location: $PROTON_PATH"
echo "wine Distribution Path: $PROTON_DIST_PATH"
echo "Wine Prefix: $WINEPREFIX"
echo "Wine version: $XLCORE_WINE_VERSION"
echo "XIVLauncher Windows Path: $XIVLAUNCHER_PATH"
echo

Expand Down
4 changes: 1 addition & 3 deletions setup-stage2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
. helpers/error.sh
. helpers/prompt.sh
. helpers/funcs.sh
. config/xlcore.sh

# Determine where the user wants to install the tools
. config/ffxiv-tools-location.sh
Expand Down Expand Up @@ -36,7 +35,7 @@ echo "Making sure that Wine isn't running anything..."
# runner (the FFXIV container's) to itself terminate all running programs?

while true; do
GET_NEWEST_PID "WINE_EXE_PID" '[A-Z]:\\.*\.exe$'; PID_SUCCESS=$?
GET_NEWEST_PID "WINE_EXE_PID" '[A-Z]:\\.*\.exe'; PID_SUCCESS=$?
[[ "$PID_SUCCESS" -ne 0 ]] && break
warn "Detected Wine process ($WINE_EXE_PID). Forcing it to exit..."
kill -9 "$WINE_EXE_PID"
Expand All @@ -52,7 +51,6 @@ warn 'Note that the next step is destructive, meaning that if something goes wro
echo 'Please make backups of both!'
echo "Wine prefix: $WINEPREFIX"
echo "wine distribution: $PROTON_DIST_PATH"
echo "Wine version: $XLCORE_WINE_VERSION"

PROMPT_BACKUP

Expand Down