asticode / go-astilectron

Build cross platform GUI apps with GO and HTML/JS/CSS (powered by Electron)
MIT License
4.9k stars 344 forks source link

Facilitate running custom javascript on the main JS process #382

Open Naatan opened 2 years ago

Naatan commented 2 years ago

Note this PR is dependent on https://github.com/asticode/astilectron/pull/63

The rationale is explained in the PR above.

The eventProxy feels very awkward, I'm probably doing more than I need to. Happy to receive some pointers on how to improve this code.