Not knowing anything about the app, aside from it being a “chat app” I would argue that 300mb is high. Granted, it’s probably not noticeable given the current levels of RAM in many machines, particularly gaming setups. Also, depending on what the app is doing 300mb could be more than reasonable.
My point was that if your concern revolves wholly around your footprint then looking into a native solution is going to be your best bet. Electron is notoriously resource heavy. Don’t get me wrong: I’m currently using it because the barrier to get something up and running cross-platform was more important than my resource usage on customers’ machines. But that doesn’t mean I like the trade-off. I’ll be looking into shared C libraries in the future.