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
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:
WEBEXT_USER: ${{ secrets.WEBEXT_USER }}
WEBEXT_SECRET: ${{ secrets.WEBEXT_SECRET }}

View file

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