Try to make firefox publish work
This commit is contained in:
parent
f1fb79d2c5
commit
daf3a1dcac
2 changed files with 11 additions and 13 deletions
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
|
@ -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 }}
|
||||||
|
|
|
@ -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"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue