mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Use nativeMessaging permission in Safari extension but not Chrome
This commit is contained in:
parent
ce5b949971
commit
4b6517c0a6
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue