src_prepare-overlay/games-simulation/clou2/files/clou2

20 lines
412 B
Plaintext
Raw Normal View History

2020-03-14 04:04:19 +01:00
#!/usr/bin/env bash
set -xeuo pipefail
export WINEPREFIX=~/.wine_clou2
export WINEARCH=win32
if [ ! -d ~/.local/share/Clou2 ]; then
mkdir -p ~/.local/share/Clou2
pushd ~/.local/share/Clou2
for i in $(ls /usr/share/games/clou2 | grep -v ^clou2\\.reg$); do
ln -s /usr/share/games/clou2/$i $i
done
popd
fi
pushd ~/.local/share/Clou2
wine regedit /C /usr/share/games/clou2/clou2.reg
2020-03-14 04:04:19 +01:00
wine Sting.exe
popd