Skip to content

ProtonVPN/proton-vpn-browser-extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4749760 · Jan 2, 2025

History

10 Commits
Jan 2, 2025
Jun 26, 2024
Jun 26, 2024
Jun 26, 2024
Jun 26, 2024
Jun 26, 2024
Jun 26, 2024
Jan 2, 2025
Jan 2, 2025
Jan 2, 2025
Aug 13, 2024
Aug 13, 2024
Jun 26, 2024
Jun 26, 2024
Jun 26, 2024
Jun 26, 2024
Jun 26, 2024
Jan 2, 2025

Repository files navigation

Getting Started

You'll need to have the following environment to work with this project:

  • Node.js LTS

That's all folks!

Build for Firefox

npm install
npm run build-ff

Auto-reload on change:

npm run watch-ff

Build for Chrome

npm install
npm run build

Auto-reload on change:

npm run watch

Main config values are exposed in config.js at the root of the project for QA and dev to conveniently create custom-builds.

Build exact version from ZIP

To get the exact same build from source.zip, extract its content in an empty folder then run:

Firefox:

npm ci && npm run pack-ff

Will generate: vpn-proton-firefox.zip

Chrome:

npm ci && npm run pack

Will generate: vpn-proton-chrome.zip

All steps including unzipping and dependencies install:

apt-get install zip
unzip source.zip -d vpn-bex
cd vpn-bex
npm ci
npm run pack-ff
mv vpn-proton-firefox.zip ../vpn-proton-firefox.zip
cd ..
rm -rf vpn-bex