Quentin Renard
Quentin Renard
Did you try the `window.Focus()` method?
Seems like you need to use a specific Electron method that is not implemented yet in `go-astilectron`: [showInactive](https://electronjs.org/docs/api/browser-window#winshowinactive). I won't have time to work on this any time soon, but...
https://github.com/asticode/go-astilectron#notifications
I'll think about a clean way to integrate this into the process event though I doubt there's one. But I'll try. Regarding the console messages, you have to put the...
As I mentioned in #169, I won't have time to work on this any time soon, therefore if anybody feels like implementing that I'd be happy to review a PR.
Try putting ```go w.OnMessage(func(m *astilectron.EventMessage) interface{} { // Unmarshal var s string m.Unmarshal(&s) fmt.Print("+") // Process message if s == "hello" { fmt.Print("this place") return "world" } return nil })...
Which platform are you testing on?
Did you try with the [demo](https://github.com/asticode/go-astilectron-demo), the [example](https://github.com/asticode/go-astilectron/tree/master/example) or custom code?
Can you reproduce the problem with the example ?
Thing is I'm not reproducing the problem either in the example or in the demo therefore I'm trying to find where the problem could be coming from. Since you're testing...