Try to make firefox publish work

This commit is contained in:
Vendicated 2022-12-01 19:43:49 +01:00
parent f1fb79d2c5
commit daf3a1dcac
No known key found for this signature in database
GPG key ID: EC781ADFB93EFFA3
2 changed files with 11 additions and 13 deletions

View file

@ -35,7 +35,7 @@ jobs:
- name: Sign firefox extension - name: Sign firefox extension
run: | run: |
pnpx web-ext sign --api-key $WEBEXT_USER --api-secret $WEBEXT_SECRET pnpx web-ext sign --api-key $WEBEXT_USER --api-secret $WEBEXT_SECRET --channel=listed
env: env:
WEBEXT_USER: ${{ secrets.WEBEXT_USER }} WEBEXT_USER: ${{ secrets.WEBEXT_USER }}
WEBEXT_SECRET: ${{ secrets.WEBEXT_SECRET }} WEBEXT_SECRET: ${{ secrets.WEBEXT_SECRET }}

View file

@ -14,20 +14,18 @@
"content_scripts": [ "content_scripts": [
{ {
"run_at": "document_start", "run_at": "document_start",
"matches": [ "matches": ["*://*.discord.com/*"],
"*://*.discord.com/*" "js": ["content.js"]
],
"js": [
"content.js"
]
} }
], ],
"web_accessible_resources": [ "web_accessible_resources": ["dist/Vencord.js"],
"dist/Vencord.js"
],
"background": { "background": {
"scripts": [ "scripts": ["background.js"]
"background.js" },
] "browser_specific_settings": {
"gecko": {
"id": "vencord-firefox@vendicated.dev",
"strict_min_version": "92.0"
}
} }
} }