aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2022-12-01 19:43:49 +0100
committerVendicated <vendicated@riseup.net>2022-12-01 19:43:57 +0100
commitdaf3a1dcacabdc37fb66b5c277a7ff9bf3eceea8 (patch)
tree173bb0af2c6232c0f3befd5a86b63a95df3233bb
parentf1fb79d2c539d2d20ba31db20f2ef68843aab115 (diff)
downloadVencord-daf3a1dcacabdc37fb66b5c277a7ff9bf3eceea8.tar.gz
Vencord-daf3a1dcacabdc37fb66b5c277a7ff9bf3eceea8.tar.bz2
Vencord-daf3a1dcacabdc37fb66b5c277a7ff9bf3eceea8.zip
Try to make firefox publish work
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--browser/manifestv2.json22
2 files changed, 11 insertions, 13 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 055b255..f7c7363 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -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 }}
diff --git a/browser/manifestv2.json b/browser/manifestv2.json
index f711512..c27e9e3 100644
--- a/browser/manifestv2.json
+++ b/browser/manifestv2.json
@@ -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"
+ }
}
}