Fix incorrect command

This commit is contained in:
Manuel Thalmann 2023-04-03 00:16:28 +02:00
parent 51bf80b10a
commit b41f39a733

View file

@ -20,7 +20,7 @@ else
destination="$EXTENSION_DIR/$EXTENSION_NAME.crx"; destination="$EXTENSION_DIR/$EXTENSION_NAME.crx";
sudo -u "$1" brave-browser --pack-extension="$extensionDir" --pack-extension-key="$keyFile"; sudo -u "$1" brave-browser --pack-extension="$extensionDir";
# Tamper manifest file # Tamper manifest file
manifest="$(cat "$manifestFile" | jq ". + {key: "'"'"$(openssl rsa -in "$keyFile" -pubout -outform DER | openssl base64 -A)"'"'"}")"; manifest="$(cat "$manifestFile" | jq ". + {key: "'"'"$(openssl rsa -in "$keyFile" -pubout -outform DER | openssl base64 -A)"'"'"}")";