File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -21,11 +21,11 @@ exports.create = (api) => {
2121 const pubkey = keys . id . slice ( 1 ) . replace ( `.${ keys . curve } ` , '' )
2222
2323 config = merge ( config , {
24- connections : {
25- incoming : { unix : [ { 'scope' : 'local' , 'transform' : 'noauth' } ] }
26- } ,
27- keys ,
28- remote : `unix:${ Path . join ( config . path , 'socket' ) } :~noauth:${ pubkey } `
24+ keys
25+ // connections : {
26+ // incoming: { unix: [{ 'scope': 'local', 'transform': 'noauth' } ] }
27+ // } ,
28+ // remote: `unix:${Path.join(config.path, 'socket')}:~noauth:${pubkey}`
2929 } )
3030 }
3131 return config
Original file line number Diff line number Diff line change 7474 "patchbay-gatherings" : " ^3.2.8" ,
7575 "patchbay-poll" : " ^1.1.1" ,
7676 "patchbay-scry" : " ^1.3.1" ,
77- "patchcore" : " ^1.28.1 " ,
77+ "patchcore" : " ^1.28.3 " ,
7878 "pull-abortable" : " ^4.1.1" ,
7979 "pull-next-query" : " ^1.0.0" ,
8080 "pull-notify" : " ^0.1.1" ,
Original file line number Diff line number Diff line change @@ -4,18 +4,20 @@ const electron = require('electron')
44
55// Get config options from depject
66const config = require ( './config' ) . create ( ) . config . sync . load ( )
7+ const startFrontend = ( ) => electron . ipcRenderer . send ( 'server-started' )
78
89Client ( config . keys , config , ( err , server ) => {
910 if ( err ) { // no server currently running
1011 console . log ( '> scuttle-shell: starting' )
1112 scuttleshell . start ( { } , ( startErr ) => {
1213 if ( startErr ) return console . error ( '> scuttle-shell: failed to start' , startErr )
1314
14- electron . ipcRenderer . send ( 'server-started' )
15+ startFrontend ( )
1516 } )
1617 } else {
1718 console . log ( '> scuttle-shell / sbot already running' )
18- electron . ipcRenderer . send ( 'server-started' )
1919 server . close ( ) // close this connection (app starts one of its own)
20+
21+ startFrontend ( )
2022 }
2123} )
You can’t perform that action at this time.
0 commit comments