We're trying to create an app to track some logfiles and push those data to our API for our company. It'll be working on Mac OSX and Windows
So, we're really newbie at Electron. I just wonder there is a accepted file structure or framework for Electron ? Because, I don't want to mess up my codes in the future.
Why does WhatsApp desktop app use Electron? Working less and providing more, Electron framework helped the WhatsApp developers to cover it all in single cost and wrap around the desktop experience of WhatsApp through a more streamlined and revolutionized framework – the Electron.
Electron apps bundle Chromium and NodeJs out of the gate, leading to a very large app size. Even a simple app built on Chromium can be resource-intensive and probably use more CPU and RAM than a native app.
Use the Same Codebase for Android Application The powerful thing about combining Electron with Cordova is that now you can take the same codebase and build for mobile platforms such as Android.
Electron will use a ton of memory because it's running a full browser inside a browser/desktop, Chromium, along with running v8 and all of it's own code. Along with that Chromium is already known for high memory usage. So it's relatively normal to see high memory.
Depending on the features you want (angular, react, webpack, etc.), there are starter projects out there. Just have a look on Github for electron starters. However, most projects follow a very similar structure, having at least the following directories:
You may also search for electron prebuilt, electron boilerplate or electron seed.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With