diff options
author | bemxio | 2023-07-28 09:55:06 +0200 |
---|---|---|
committer | bemxio | 2023-07-28 11:28:34 +0200 |
commit | 2048c9f603021adeb7636722a81e74cba01efbe6 (patch) | |
tree | e14a1ba37201b012ea561d7ebe5bdc19c37c99fd | |
parent | 3be0b7192cd3cc9ae943a170874cd6c9da6ab66f (diff) | |
download | aur-2048c9f603021adeb7636722a81e74cba01efbe6.tar.gz |
add the start-up script
-rwxr-xr-x | anituner | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/anituner b/anituner new file mode 100755 index 000000000000..2383a57d4ccf --- /dev/null +++ b/anituner @@ -0,0 +1,15 @@ +#!/bin/bash + +export WINEARCH=win32 WINEPREFIX="$HOME/.anituner/wine" + +if [ ! -d "$HOME/.anituner" ]; then + 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 + +wine "$HOME/.anituner/anituner" "$@"
\ No newline at end of file |