2022-06-10 17:04:33 +00:00
|
|
|
#!/bin/sh
|
|
|
|
PATH=$(dirname "$(readlink -f "${0}")")/..:$PATH
|
|
|
|
DIR=/tmp/appdwarf/mp3tag
|
|
|
|
mkdir -p $DIR
|
|
|
|
LINK=$(curl -L mp3tag.de/dodownload64.html | awk -F'[="]' /URL/'{print $7}')
|
2022-06-27 00:53:01 +00:00
|
|
|
aria2c "$LINK" -d $DIR -o mp3tag
|
|
|
|
7z x -y -o$DIR $DIR/mp3tag
|
2022-06-10 17:04:33 +00:00
|
|
|
|
|
|
|
mv $DIR/Mp3tag.exe $DIR/mp3tag
|
|
|
|
cp "$(dirname "$(readlink -f "${0}")")"/../AppRun $DIR
|
2022-06-11 19:02:34 +00:00
|
|
|
sed -i '4s/ / wine /' $DIR/AppRun
|
2022-06-10 17:04:33 +00:00
|
|
|
|
2022-06-27 00:53:01 +00:00
|
|
|
appdwarf $DIR "$@"
|
2022-06-10 17:04:33 +00:00
|
|
|
mv $DIR.sh mp3tag
|
|
|
|
rm -rf $DIR
|