Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Replace XComLauncher.exe for "XCOM: Enemy Within"
#!/bin/sh
# If the XCOMLauncher.exe from XEW (under Wine) is failing, you can replace it with this one.
# XCOM has a Linux native version but it has a much higher hardware
# requirement than the Windows version.
cd "$(dirname "$0")"
if zenity --question --title "Version" --text "Which version?" \
--ok-label XEW --cancel-label XEU ; then
exec wine ./XComEW.exe
else
exec wine ../../../Binaries/Win32/XComGame.com -FROMLAUNCHER
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.