Electron Port #3
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Kinda messy, just like it should be!
My main rationale is that the current nwjs version doesn't run on my Chromebook, plus it is just overall clumsy. Electron gives us some neat stuff that we can implement later, like installers and automatic updating. Structurally Electron is separated into two pieces: a main process and a renderer process. Ideally the sys/node calls are all separated into the main process, but we still have some stuff in the renderer. Instead of dealing with the incredible structural burden (patching asys stuff into very recursive sync code isn't fun) though, I am just gonna wait for the inevitable HaxeUI rewrite.
I think this is basically complete? I probably missed something obvious, but it looks like the sample works as intended. If anyone can test this, particularly on macOS and Windows, it would be appreciated!
Things that should be considered after merging (and should probably be separate issues):