Updated Hunter installation code.
This commit is contained in:
parent
7254b70112
commit
9566babe70
@ -538,11 +538,9 @@ case "${game}" in
|
||||
winetricks -q dotnet35
|
||||
wineserver -k # Damn you, dotnet.
|
||||
download "http://www.agarchive.net/games/bsc/HunterSetup.exe" "https://www.agarchive.net/games/bsc/BSC%20unlock%20code%20generator.7z"
|
||||
if command -v xdotool &> /dev/null ; then
|
||||
wine "${cache}/HunterSetup.exe" /silent | xdotool sleep 10 key alt+y --clearmodifiers
|
||||
else
|
||||
wine "${cache}/HunterSetup.exe" /silent
|
||||
fi
|
||||
wine "${cache}/HunterSetup.exe" /silent &
|
||||
xdotool sleep 10 key alt+y --clearmodifiers 2> /dev/null
|
||||
wineserver -w
|
||||
mkdir -p "$WINEPREFIX/drive_c/Program Files/bsc-key-generator"
|
||||
7z e -o"$WINEPREFIX/drive_c/Program Files/bsc-key-generator" "${cache}/BSC unlock code generator.7z"
|
||||
echo "$USER"$'\n'"$(hostname)"$'\n'"none"$'\n'"US" > "$WINEPREFIX/drive_c/Program Files/Hunter/config.dat"
|
||||
|
Loading…
Reference in New Issue
Block a user