diff --git a/apple/Makefile b/apple/Makefile index 79c0c2661..4a35936ca 100644 --- a/apple/Makefile +++ b/apple/Makefile @@ -7,4 +7,4 @@ graphql_gen: extension_gen: pushd ../pkg/extension/ && yarn build-prod && popd cp -r ../pkg/extension/dist/* Sources/SafariExtension/Resources/. - cat ../pkg/extension/dist/manifest.json | jq '.background.persistent = false' > Sources/SafariExtension/Resources/manifest.json + cat ../pkg/extension/dist/manifest.json | jq '.background.persistent = false' | jq '.permissions = ["activeTab", "storage", "nativeMessaging", "https://*/**", "http://*/**"]' > Sources/SafariExtension/Resources/manifest.json \ No newline at end of file diff --git a/pkg/extension/src/manifest.json b/pkg/extension/src/manifest.json index 180c8db5b..d542f0c49 100644 --- a/pkg/extension/src/manifest.json +++ b/pkg/extension/src/manifest.json @@ -22,7 +22,7 @@ "256": "/images/extension/icon-256.png" }, - "permissions": ["activeTab", "storage", "nativeMessaging", "https://*/**", "http://*/**"], + "permissions": ["activeTab", "storage", "https://*/**", "http://*/**"], "background": { "page": "/views/background.html",