Quentin Renard

Results 338 comments of Quentin Renard

if you want to execute something after `Wait()` I would suggest using a `goroutine`: ```go // TODO Setup your window var w *astilectron.Window // Do your thing go func() {...

You can use the [OnWait](https://github.com/asticode/go-astilectron-demo/blob/master/main.go#L80) function of the bootstrap to store your `window` in a local variable and use it outside the `Wait()` loop

Have you tried using a .png or event better a .svg instead of a .ico ?

You're looking for this [Electron method](https://electronjs.org/docs/api/browser-window#winsetfullscreenflag) which is not implemented in `go-astilectron` as of now. I won't have time to work on this in the coming months but I'm welcoming...

I'm still welcoming PRs 😛 Regarding fullscreen, I think [this method](https://www.electronjs.org/docs/api/browser-window#winsetfullscreenflag) or [this method](https://www.electronjs.org/docs/api/browser-window#winissimplefullscreen-macos)(for Mac) should do the trick.

Right now this is not possible in GO but adding it is not that complex. I just won't have time to work on this anytime time soon though. If you...

You need to update `astilectron` (the JS part) as well so that it parses the new `window.cmd.set.always.on.top` key 👍

I'm not familiar with React but maybe [this comment](https://github.com/asticode/go-astilectron/issues/300) could be useful to you ? It seems you need to add `astilectron` as a dependency in your project explicitly.

I don't think using `var astilectron = {}` is a good direction to take in your investigation. However, I've you tried adding `astilectron` in your `package.json`?

With adding `astilectron` to your `package.json`, I've you tried adding `import astilectron` at the top of your file (or `require` / `include`) ?