Skip to content

Commit

Permalink
fix(backend): fixes bug that doesn't launch qri if there is no QRI_PATH
Browse files Browse the repository at this point in the history
This feels like a temp fix.

We should think about loading this from a config or localStorage (not sure if we can load it from localStorage in this part of the process), so folks can use different identities
  • Loading branch information
ramfox committed Aug 2, 2019
1 parent 8030e91 commit e4c5d35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class BackendProcess {

launchProcess () {
try {
this.process = childProcess.spawn(this.qriBinPath, ['connect'], {})
this.process = childProcess.spawn(this.qriBinPath, ['connect', '--setup'], {})
this.process.on('error', (err) => { this.handleEvent('error', err) })
this.process.on('exit', (err) => { this.handleEvent('exit', err) })
this.process.on('close', (err) => { this.handleEvent('close', err) })
Expand Down

0 comments on commit e4c5d35

Please sign in to comment.