Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # K1773R K1773R@darkgamex.ch
- width=1920
- height=1032
- cd "/home/cyrus/.wine/drive_c/users/Public/Application Data/Blizzard Entertainment/StarCraft II"
- WINEPREFIX="/home/cyrus/.wine" /usr/bin/wine regedit "/host/Program Files (X86)/StarCraft II/disablep2p.reg"
- WINEPREFIX="/home/cyrus/.wine" /usr/bin/wine explorer /desktop=StarCraft_2,"$width"x"$height" "/.wine/drive_c/users/Public/Application Data/Battle.net/Agent/Agent.exe" --nohttpauth &
- sleep 5
- WINEPREFIX="/home/cyrus/.wine" /usr/bin/wine explorer /desktop=StarCraft_2,"$width"x"$height" "/host/Program Files (X86)/StarCraft II/StarCraft II.exe" &
- sleep 5
- while [ 1 ];
- do
- if [ ! "$(pidof SC2.exe)" ]
- then
- if [ ! $(pidof "StarCraft II.exe") ]
- then
- if [ ! $(pidof "Blizzard Launcher.exe") ]
- then
- killall Agent.exe 2>/dev/null
- exit
- fi
- fi
- fi
- sleep 1
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement