From b41f39a73352ef487ddecdf65b9f18845c00ad9f Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Mon, 3 Apr 2023 00:16:28 +0200 Subject: [PATCH] Fix incorrect command --- scripts/Common/Config/Chromium/install-extension.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Common/Config/Chromium/install-extension.sh b/scripts/Common/Config/Chromium/install-extension.sh index c201ff58..656407b6 100755 --- a/scripts/Common/Config/Chromium/install-extension.sh +++ b/scripts/Common/Config/Chromium/install-extension.sh @@ -20,7 +20,7 @@ else 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 manifest="$(cat "$manifestFile" | jq ". + {key: "'"'"$(openssl rsa -in "$keyFile" -pubout -outform DER | openssl base64 -A)"'"'"}")";