Created
February 10, 2016 23:13
-
-
Save randomstuff/e7789e2a44e6c0028023 to your computer and use it in GitHub Desktop.
Replace XComLauncher.exe for "XCOM: Enemy Within"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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