Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
fether
Commits
1997434f
Commit
1997434f
authored
Jul 03, 2018
by
Amaury Martiny
Browse files
Run kovan by default (fix
#119
)
parent
71f1bb5e
Pipeline
#44263
canceled with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
packages/fether-electron/src/main/cli/index.js
View file @
1997434f
...
...
@@ -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.`
...
...
packages/fether-electron/src/main/index.js
View file @
1997434f
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment