Commit 1997434f authored by Amaury Martiny's avatar Amaury Martiny

Run kovan by default (fix #119)

parent 71f1bb5e
Pipeline #44263 canceled with stages
......@@ -22,6 +22,10 @@ if (process.defaultApp !== true) {
cli
.version(version)
.allowUnknownOption()
.option(
'--chain',
'The network to connect to, can be one of "foundation", "kovan" or "ropsten". (default: "kovan")'
)
.option(
'--no-run-parity',
`${productName} will not attempt to run the locally installed parity.`
......
......@@ -59,7 +59,9 @@ function createWindow () {
)
.then(() =>
// Run parity when installed
runParity(err => handleError(err, 'An error occured with Parity.'))
runParity(['--light', '--chain', cli.chain || 'kovan'], err =>
handleError(err, 'An error occured with Parity.')
)
)
.then(() => {
// Notify the renderers
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment