mirror of
https://github.com/Phantop/appdwarf.git
synced 2025-01-08 13:17:24 +00:00
apps: mp3tag
This commit is contained in:
parent
ff5f7690bc
commit
19b9cd80da
16
apps/mkmp3tag
Executable file
16
apps/mkmp3tag
Executable file
|
@ -0,0 +1,16 @@
|
|||
#!/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}')
|
||||
aria2c "$LINK" -d $DIR -o exe
|
||||
7z x -y -o$DIR $DIR/exe
|
||||
|
||||
rm $DIR/exe
|
||||
mv $DIR/Mp3tag.exe $DIR/mp3tag
|
||||
cp "$(dirname "$(readlink -f "${0}")")"/../AppRun $DIR
|
||||
sed -i '5s/ / wine /' $DIR/AppRun
|
||||
|
||||
appdwarf $DIR
|
||||
mv $DIR.sh mp3tag
|
||||
rm -rf $DIR
|
Loading…
Reference in a new issue