summarylogtreecommitdiffstats
path: root/mp3directcut
blob: d48769d60a701208db71dcfb1ae55614733cf5cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/bash

export WINEDEBUG=-all # Supresses Wine debug messages

if [ ! -d "$HOME"/.mp3directcut ] ; then
   mkdir "$HOME"/.mp3directcut
   #prepare the environment here
   
   ln -s /usr/share/mp3directcut/mp3DirectCut.exe "$HOME"/.mp3directcut/mp3DirectCut.exe
   ln -s -T /usr/share/mp3directcut/Languages "$HOME"/.mp3directcut/Languages
   
fi

wine "$HOME"/.mp3directcut/mp3DirectCut.exe "$@"