Obviously, Vencord has stopped uploading their extension to addons.mozilla.org due to the long-waiting review, and they also decided not to go self-hosting. But I need to use that, therefore I decided to try build the addon.
Some packages are required to be installed in advance:
- NodeJS (version: 20.5.1) and npm (version: 10.8.1)
- pnpm (version: 10.7.0):
npm install -g pnpm - web-ext (version: 8.5.0):
npm i -g web-ext
(Version numbers above are for reference only. Usually, you don't need to follow them.)
Here's what I've done:
- Clone the repo with
git clone https://github.com/Vendicated/Vencord --depth 1(for clarity, let's call the directory of your clone$ROOT, which should be./Vencordrelative to your current directory.) cd $ROOT(i.e.cd ./Vencord)pnpm i && pnpm run buildWebcd $ROOT/dist- Change the ID to
vencord-firefox@sthin$ROOT/dist/firefox-unpacked/manifest.json. (Sorry for my terrible and thoughtless naming flavour 😓.) If you ever need to do it yourself, make sure your ID is unique (i.e. different from my ID, and different from any existing extension signed by mozilla). - Sign the addon with
web-ext sign -s $ROOT/dist/firefox-unpacked --channel=unlisted --api-key=... --api-secret=.... The fields left empty can be acquired from here (you need to have a Mozilla account). - In
$ROOT/dist/web-ext-artifacts, the file with the postfix.xpiis the addon. - In Firefox, open
about:addonsand drag-and-drop the file to install.
You can download the vencord-sth.xpi file and simply do the 8th step above. The current version is 1.13.4.
it stopped working recently... when can we get a fix?