Build extensions using Brave
This commit is contained in:
parent
84d6a53524
commit
542174a2af
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ else
|
|||
# Pack extension
|
||||
extensionID="$(openssl rsa -in "$keyFile" -pubout -outform DER | sha256sum | head -c32 | tr 0-9a-f a-p)";
|
||||
extensionVersion="$(cat "$manifestFile" | jq -r '.version')";
|
||||
sudo -u "$1" chromium --pack-extension="$extensionDir" --pack-extension-key="$keyFile";
|
||||
sudo -u "$1" brave-browser --pack-extension="$extensionDir" --pack-extension-key="$keyFile";
|
||||
|
||||
# Install extension and preinstall it
|
||||
cp "$extensionFile" "$EXTENSION_DIR";
|
||||
|
|
Loading…
Reference in a new issue