Light Cars installer works again.
This commit is contained in:
parent
d348a879e5
commit
6d2eedb0fe
@ -250,7 +250,7 @@ download() {
|
|||||||
dest="${dest//%20/ }"
|
dest="${dest//%20/ }"
|
||||||
# Return if the game is in cache.
|
# Return if the game is in cache.
|
||||||
test -e "${cache}/${dest}" && return
|
test -e "${cache}/${dest}" && return
|
||||||
if ! wget -O "${cache}/${dest}" "${i}" ; then
|
if ! wget -4 -O "${cache}/${dest}" "${i}" ; then
|
||||||
echo "Could not download game."
|
echo "Could not download game."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@ -863,7 +863,7 @@ EOF
|
|||||||
install_wine_bottle dx8vb vb6run
|
install_wine_bottle dx8vb vb6run
|
||||||
download "https://www.agarchive.net/games/lighttech/light%20cars%20setup.exe"
|
download "https://www.agarchive.net/games/lighttech/light%20cars%20setup.exe"
|
||||||
wine "${cache}/light cars setup.exe" &
|
wine "${cache}/light cars setup.exe" &
|
||||||
xdotool sleep 10 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+a key --clearmodifiers space sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+i sleep 30 key --clearmodifiers alt+f
|
xdotool sleep 10 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+a key --clearmodifiers space sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+n sleep 1 key --clearmodifiers alt+i sleep 30 key --clearmodifiers Tab sleep 1 key --clearmodifiers Return 2> /dev/null
|
||||||
wineserver -w
|
wineserver -w
|
||||||
echo -e "${USER} ${HOST}\nna@na.na\nUS" > ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat
|
echo -e "${USER} ${HOST}\nna@na.na\nUS" > ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat
|
||||||
unix2dos ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat
|
unix2dos ~/.local/wine/light-cars/drive_c/Program\ Files/Lighttech\ Interactive/Light\ Cars/config.dat
|
||||||
|
Loading…
Reference in New Issue
Block a user