![]() The next step is to open up the main.js file and change the contents of the mainWindow.loadURL() function from : mainWindow.loadURL(url.format( ![]() It's pretty bare-bones, and actually it's going to stay that way. You can use your favorite code editor to see what it looks like at this point : We are going to pull it down, make a single change, and then run it to see your web application running it a semi-desktop glory.įirst, pull down the electron-quick-start repository here. This post is going to take advantage of the existing Electron Quick Start application that you can find on GitHub. We are more interested in quickly using it to migrate an existing web application. If you want to check it out, I'd encourage you to visit their site, however we aren't going to be spending too much time on it specifically. It gets all of the difficult cross-platform concerns and allows you to actually just write some code. ![]() What is Electron?Įlectron is a framework for building cross-platform native applications using all your favorite web technologies like CSS, HTML and Javascript. This short post will show you in just a few easy steps how you can take your existing web site or application and package it up as an Electron application that they can use without ever touching a browser. Sick of dealing with browser quirks? Or maybe one of your users just LOVES some old crappy version of Internet Explorer? Or do you have users that simply cannot avoid the temptation of an address bar that can take them on a journey to social media land? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |