News for hackers. Stuff that matters.
Re:Show HN: JSPaint.exe – MS Paint as a cross-platform binary by ChickeNES on Saturday November 07, 2020 @07:23PM (#25021344)
Wait, if this doesn't use Electron how are you rendering everything?
Re:Show HN: JSPaint.exe – MS Paint as a cross-platform binary by graderjs on Saturday November 07, 2020 @07:49PM (#25021599)
Yes that's the main draw card. I probably should have made the title

... without Electron hehe

I use Grader, my cross platform app builder. It's weird, it's got many downloads on npm since i posted it 2 days ago, but not many stars. People using it in secret! Whereas another npm project I did has many stars but few downloads.

I suggest you consult the Grader docs[0,1] for how we render, but the short of it is, we do use Chrome to render, we just don't package it in the binary. We use the system Chrome, or... grader downloads chrome once if it's not installed, and that is used for all grader apps.

[0]: https://github.com/c9fe/grader-base/blob/master/README.md#go...

[1]: https://github.com/c9fe/grader-base/blob/master/README.md#cl...