Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

veritas-shine/TQC-Wallet

Repository files navigation

TQC Wallet Desktop Apps


Install

First, clone the repo via git:

git clone --depth=1 https://github.com/veritas-shine/TQC-Wallet.git

And then install dependencies with npm.

$ cd TQC-Wallet
$ npm i

Note: If you can't install electron-chromedriver, see here.

Run

Start the app in the dev environment.

$ npm run dev

Alternatively, you can run the renderer and main processes separately. This way, you can restart one process without waiting for the other. Run these two commands simultaneously in different console tabs:

$ npm run start-renderer-dev
$ npm run start-main-dev

Packaging

To package apps for the local platform:

$ npm run package

To package apps for all platforms:

First, refer to Multi Platform Build for dependencies.

Then,

$ npm run package-all

To package apps with options:

$ npm run package -- --[option]

To run End-to-End Test

$ npm run build
$ npm run test-e2e

💡 You can debug your production build with devtools by simply setting the DEBUG_PROD env variable:

DEBUG_PROD=true npm run package

License

MIT © Veritas Shine