Load manifest file properly

This commit is contained in:
Manuel Thalmann 2023-04-03 00:21:39 +02:00
parent cdc2fe649d
commit be07c2f4a4

View file

@ -17,7 +17,7 @@ unzip "$archiveName" -d "$extensionDir";
rm "$archiveName"; rm "$archiveName";
# Tamper manifest file # Tamper manifest file
manifest="$(echo "$manifest" | jq ".background.persistent = false")"; manifest="$(cat "$manifestFile" | jq ".background.persistent = false")";
echo "$manifest" > "$manifestFile"; echo "$manifest" > "$manifestFile";
EXTENSION_NAME="youtube-music-dl" \ EXTENSION_NAME="youtube-music-dl" \