ceramic-engine / ceramic

Cross-platform 2D framework written in Haxe that can export natively to desktop (windows, mac, linux), mobile (ios, android), web (js + webgl) and to unity projects
MIT License
260 stars 22 forks source link

enhance: replace electron with neutralino #118

Closed wiredmatt closed 1 year ago

wiredmatt commented 1 year ago

Hey, just started using ceramic, i noticed the development binary is packaged with electron, you may prefer https://neutralino.js.org/ instead which is lighter and faster.

https://github.com/Elanis/web-to-desktop-framework-comparison#01-empty-app

image

jeremyfa commented 1 year ago

Thanks for the suggestion,

Although it could be nice to drastically reduce the size of a Ceramic release, it would also be a lot of work because Ceramic local web testing is built around the usage of electron, and taking advantage of what is exposed via node by electron.

I guess it would be possible to port all this to neutralino, but the risk of bringing regressions on the way is very high. I wouldn't know for sure if I wouldn't run against new problems, while I know the current implementation based on electron works just fine.

Even if the size of electron is not ideal, this concern alone is not enough to convince me to put the work of moving to neutralino.