This is a rewrite of Mysterium VPN desktop with the following goals:
- Improved performance
- Improved UX
- Simplified codebase
- Integrated payments
In development mode, application logs are printed to the console.
In a bundled application:
- Linux:
~/.config/MysteriumVPN/logs/*.log
- macOS:
~/Library/Logs/MysteriumVPN/*.log
- Windows:
%USERPROFILE%\AppData\Roaming\MysteriumVPN\logs\*.log
~/.mysterium/logs/mysterium-node.log
- Linux/macOS:
/var/log/myst_supervisor.log
- Windows:
%PROGRAMDATA%\MystSupervisor\myst_supervisor.log
-
Install and build the project
yarn && yarn build
-
Start (webpack dev server with hot reload):
yarn dev
Instead of using prebuilt Node binary (specified by @mysteriumnetwork/node
version in package.json
), you may build Node from sources and start it in daemon mode with required permissions, e.g.:
git clone https://github.com/mysteriumnetwork/node
cd node
mage build
mage daemon
App will try to connect to the existing instance instead of launching one of its own.
Required env variables (macOS):
- APPLEID
- APPLEIDPASS (generate an app-specific password for this)
yarn bundle
When upgrading, upload debug symbols to sentry:
node sentry-symbols.js
https://docs.sentry.io/platforms/javascript/electron/#uploading-debug-information