Download the latest release from the Releases page. Find your platform and install it.
You need installed globally angular-cli: npm i @angular/cli -g
Run the following commands to start the wallet as electron app
You can run ./init.sh to do all the ramp up
cd ../../scripts
npm install
cd ../web/angular-wallet
npm install
cd ../../desktop/wallet
npm install
npm start
Argument | Description |
---|---|
--log | Enables Logging |
--devtools | Enables Development Tools |
To create a platform dependent executable run step 1 to 9 (if not already done) and then run
npm run release:<platform>
, where platform
can be one of
- all (builds for all platforms)
- win32
- linux
- macos
The executable will be written into ./release-builds
| To build win32 on linux you need wine installed, additionally npm must be installed, too
Example:
npm run release:win32
creates an .exe for windows (x86/x64)
With electron-builder
it is sufficient to set the env vars CSC_LINK
(path to .pfx file) and CSC_KEY_PASSWORD
and then run the win32 build script.
There is a bash script example called build-and-sign-win32.sh.example
as a template.
Recently, I had problems with code signing using electron-builder. An additional signing script is sign-win32.sh
which makes use of
osslsigncode
We use a pfx/pkcs12 cert file
sudo apt-get update -y
sudo apt-get install -y osslsigncode
Make a copy of sign-win32.sh.example
and add your certificate path and the password. Run the script after you built the windows executables and
run your signing script. If all went fine your signed executables should be available under ./release-builds/signed
.
You can verify the executables with the command:
osslsigncode verify <file>