// runApplication starts websockets and runs the electron application
runApplication starts websockets and runs the electron application
// runApplication starts websockets and runs the electron application
func (gbw *BrowserWindow) runApplication() (err error) {
	gbw.runWebsocket()
	electronPath, args, err := gbw.createStartParameters()
	errz.Fatal(err)
	electron := exec.Command(electronPath, args...)
	electron.Stdout = os.Stdout
	electron.Stderr = os.Stderr
	err = electron.Start()
	errz.Fatal(err)
	gbw.Running = true
	return
}
func ( gbw * BrowserWindow ) runApplication ( ) ( err error ) { gbw . runWebsocket ( ) electronPath , args , err := gbw . createStartParameters ( ) errz . Fatal ( err ) electron := exec . Command ( electronPath , args ... ) electron . Stdout = os . Stdout electron . Stderr = os . Stderr err = electron . Start ( ) errz . Fatal ( err ) gbw . Running = true return }
runApplication starts websockets and runs the electron application
runApplication starts websockets and runs the electron application
//run websocket //get electron start parameters //run electron