WARNING! Possibly horribly broken. For stability, switch to master branch. Completely changed the way the installer system works.
This commit is contained in:
20
.install/GMA Tank Commander.sh
Normal file
20
.install/GMA Tank Commander.sh
Normal file
@ -0,0 +1,20 @@
|
||||
download "http://www.gmagames.com/gtc120.exe"
|
||||
install_wine_bottle vb6run dx8vb speechsdk
|
||||
wine "${cache}/gtc120.exe" /silent &
|
||||
xdotool sleep 10 key --clearmodifiers alt+y 2> /dev/null
|
||||
xdotool sleep 15 type --clearmodifiers --delay 100 "${USER^}" 2> /dev/null
|
||||
xdotool key --clearmodifiers Tab 2> /dev/null
|
||||
xdotool sleep 10 type --clearmodifiers --delay 100 "${HOSTNAME^}" 2> /dev/null
|
||||
xdotool key --clearmodifiers Tab 2> /dev/null
|
||||
xdotool sleep 10 type --clearmodifiers --delay 100 "na@na.na" 2> /dev/null
|
||||
xdotool key --clearmodifiers Tab 2> /dev/null
|
||||
xdotool sleep 10 type --clearmodifiers --delay 100 "uuuuuuu" 2> /dev/null
|
||||
xdotool key --clearmodifiers Tab 2> /dev/null
|
||||
xdotool key --clearmodifiers Return 2> /dev/null
|
||||
xdotool sleep 10 key --clearmodifiers Return 2> /dev/null
|
||||
${wine}server -w
|
||||
echo "To accurately set your information, edit the file:"
|
||||
echo "${WINEPREFIX}/drive_c/Program\ Files/GMA\ Tank\ Commander/config.dat"
|
||||
echo "The default country is US. The fields are:"
|
||||
echo -e "\"Firstname Lastname\"\n\"Email address\"\n\"Country code\""
|
||||
add_launcher "c:\Program Files\GMA Tank Commander\gtc.exe"
|
Reference in New Issue
Block a user