mirror of
https://github.com/KrumpetPirate/AAXtoMP3.git
synced 2024-11-17 18:58:58 +01:00
Made savefile invisible
This commit is contained in:
parent
2206cf9dd8
commit
051f37b3ff
@ -60,16 +60,16 @@ lastauthcode=""
|
|||||||
lastloglevel="1"
|
lastloglevel="1"
|
||||||
|
|
||||||
# ===Get Values from last time===
|
# ===Get Values from last time===
|
||||||
if [ -f "interactive.txt" ]; then
|
if [ -f ".interactivesave" ]; then
|
||||||
for ((i=1;i<=$(wc -l interactive.txt | cut -d " " -f 1);i++)) do
|
for ((i=1;i<=$(wc -l .interactivesave | cut -d " " -f 1);i++)) do
|
||||||
line=$(head -$i interactive.txt | tail -1)
|
line=$(head -$i .interactivesave | tail -1)
|
||||||
case $(echo $line | cut -d " " -f 1 | $SED 's/.$//') in
|
case $(echo $line | cut -d " " -f 1 | $SED 's/.$//') in
|
||||||
codec ) lastcodec="$(echo $line | cut -d " " -f 2)";;
|
codec ) lastcodec="$(echo $line | cut -d " " -f 2)";;
|
||||||
compression ) lastcompression="$(echo $line | cut -d " " -f 2)";;
|
compression ) lastcompression="$(echo $line | cut -d " " -f 2)";;
|
||||||
chapters ) lastchapters="$(echo $line | cut -d " " -f 2)";;
|
chapters ) lastchapters="$(echo $line | cut -d " " -f 2)";;
|
||||||
authcode ) lastauthcode="$(echo $line | cut -d " " -f 2)";;
|
authcode ) lastauthcode="$(echo $line | cut -d " " -f 2)";;
|
||||||
loglevel ) lastloglevel="$(echo $line | cut -d " " -f 2)";;
|
loglevel ) lastloglevel="$(echo $line | cut -d " " -f 2)";;
|
||||||
* ) rm interactive.txt; exit 1;;
|
* ) rm .interactivesave; exit 1;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
@ -153,7 +153,7 @@ clear; echo -e "$summary\n"
|
|||||||
echo -e "$call\n"
|
echo -e "$call\n"
|
||||||
|
|
||||||
# ===Save chosen options===
|
# ===Save chosen options===
|
||||||
echo -e $savefile | $SED "s;\ level:;:;" > interactive.txt
|
echo -e $savefile | $SED "s;\ level:;:;" > .interactivesave
|
||||||
|
|
||||||
# ===Call AAXtoMP3===
|
# ===Call AAXtoMP3===
|
||||||
$call
|
$call
|
||||||
|
Loading…
Reference in New Issue
Block a user