From daf3a1dcacabdc37fb66b5c277a7ff9bf3eceea8 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Thu, 1 Dec 2022 19:43:49 +0100 Subject: [PATCH] Try to make firefox publish work --- .github/workflows/build.yml | 2 +- browser/manifestv2.json | 22 ++++++++++------------ 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 055b2553..f7c7363f 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 f7115127..c27e9e38 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" + } } }