iCrawl / discord-vscode

🖋️ Update your discord status with a rich presence

Home Page:https://marketplace.visualstudio.com/items?itemName=icrawl.discord-vscode

Repository from Github https://github.comiCrawl/discord-vscodeRepository from Github https://github.comiCrawl/discord-vscode

How would I build this myself?

vidhanio opened this issue · comments

Running tsc and vsce package, then installing the .vsix, the log keeps telling me it cannot find "tslib" what am i doing wrong?

Update: found out how to do it.
run:

npm install
npm run build
vsce package

or

yarn install
yarn run build
vsce package

then right click on the .vsix and install it.

Commenting on the issue to include a few extra steps that I had to take:

npm install
npx tsc
npm install electron
npx webpack --mode production

Then the F5 launch action works as expected. Alternatively, if anyone wants to update their .vscode folder so it does these steps for you: https://github.com/OoLunar/discord-vscode/tree/aa918fbffbc47a3a2d4942ec8300e055bf3f0e1f/.vscode