Quentin Renard
Quentin Renard
I think you need to listen to `EventNameTrayEventClicked` instead of `EventNameTrayEventDoubleClicked` (without `Double`)
Mmmm I've just tested with the demo and it's working fine on my end. Can you share your code to see whether the problem is coming from elsewhere ?
Can you link to an Electron's documentation?
Once the window is closed, you can't reuse it. What you seem to be looking to do instead is hiding the windows instead of closing it.
If you use the window [closed](https://github.com/asticode/go-astilectron/blob/master/window.go#L44) and [hide](https://github.com/asticode/go-astilectron/blob/master/window.go#L49) event, you can know which of your windows are closed and hidden. Then, based on this info, when you think the program...
FYI the implementation is located [here](https://github.com/asticode/astilectron/blob/master/index.js#L410) and you can't disable/enable `MessageBoxOnClose` dynamically
I would do it like this: 1) Add `func(w *Window) UpdateCustomOptions(o WindowCustomOptions)` in GO that would send an event `window.cmd.update.custom.options` to JS with the new options 2) In JS, store...
To be honest, I didn't event know Electron had a cache folder... 😄 How did you find out the Electron Cache was located in `C:\Users\Admin\AppData\Roaming\Electron`?
Unfortunately I can't find a way to set this cache folder in Electron's doc... can you?
Hey @deepch, long time no see 😃 There seem to have a [setMinimumSize](https://www.electronjs.org/docs/api/browser-window#winsetminimumsizewidth-height) method that would do the job. It would work like [Resize](https://github.com/asticode/go-astilectron/blob/master/window.go#L444) without the need to store both...