blob: d6948429b795a076ed29a5bcc344e6872416a1a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/bash
export WINEARCH=win32 WINEPREFIX="$HOME/.anituner/wine"
if [ ! -d "$HOME/.anituner" ]; then
# create the directory for the wine prefix
mkdir -p "$HOME/.anituner/wine" || exit 1
# copy the default configuration file
cp -r /usr/share/anituner/AniTunerPrefDefault.xml "$HOME/.anituner/AniTunerPref.xml" || exit 1
# make a symlink to the executable
ln -s /usr/share/anituner/AniTuner.exe "$HOME/.anituner/anituner"
fi
WINEDEBUG=-all wine "$HOME/.anituner/anituner" "$@"
|