Skip to content

Instantly share code, notes, and snippets.

@randomstuff
Created February 10, 2016 23:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save randomstuff/e7789e2a44e6c0028023 to your computer and use it in GitHub Desktop.
Save randomstuff/e7789e2a44e6c0028023 to your computer and use it in GitHub Desktop.
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