Cool stuff, indeed. Out-of-the-box, it looks like you publish your Electron-based app like you would anything on github:
git clone http
But there’s also a way of downloading OS-specific images and then adding your own app into this subdirectory structure. The result is a stand-alone EXE and folderset which reasonably looks like a drop-in replacement for something you normally would build locally using Microsoft Visual Studio perhaps. In this version though, you’d run Electron.exe but there are instructions on their website for renaming your application, updating the icon’s, etc.
I’ve just used it today to build a basic music player. I wouldn’t say that the layout is as responsive as a typical mobile app’s ability to move content but I did tweak things so that it can squash down to a mini-player and it stills looks great.
- This allows you to build cross-platform desktop apps in much the same way that you’d use Adobe PhoneGap, say, to build for mobile apps.
- So far, it seems to be well-behaved.
- If you don’t want others to easily see your code, there’s a step where you can use asar to zip-up everything into a tidy package.
- I didn’t have to digitally-sign anything like you might have to for a Windows 10 application or for OS X, say.
- For people who have
npm, the install is as easy as anything you’ve seen in the open-source space and a familiar workflow.
- Currently, I don’t see any support for mobile platforms.
- The complete foldedset comes in a 216MB which strikes me as a little big for what it’s doing. The app itself for the music player weighs in at 84MB of this so the remainder is everything that Electron is doing to present all this.
- You would need to setup three different build sites to maintain a specific download for your own app. (It’s not like PhoneGap in which you just submit the common code and Adobe builds it in the cloud.)
- Given that you’re not digitally-signing your code, you might have to talk your users through the hurdles of having the user “trust” the content within their particular OS.
- This might be so popular soon that none of us can really afford to just use Electron.exe by default to serve up our app; we’ll need to rename it before publishing, in other words.
I can see myself wanting to really learn this one deeply. It has a lot of potential for delivering a more native-app experience for users.