Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Electron:序/frog_house_LT_02

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

 Electron:序/frog_house_LT_02

第2回 Frog House Lightning Talkで発表した内容です。
https://www.facebook.com/events/1571001563194893/

Avatar for chan_gami

chan_gami

August 20, 2016

More Decks by chan_gami

Other Decks in Technology

Transcript

  1. What is Electron? If you can build a website, you

    can build a desktop app.
 Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS.
 It takes care of the hard parts 
 so you can focus on the core of your application. (ݪจϚϚ) http://electron.atom.io/
  2. Let’s create the own app! create the minimal files. •

    index.html • main.js • package.json https://github.com/changami/froghouse-lightning-talk-electron/tree/ 0d8975aeea728387325f96aa2ea58b4a82d39b66
  3. How to build it? I decided to use this. https://github.com/electron-userland/electron-packager

    https://github.com/electron-userland/electron-packager/blob/master/docs/api.md
  4. How to build it? According to the description, 
 we

    have two choices.
 
 Using: • JavaScript file which requires ‘electron-packager’. • The command line I chose to use JavaScript file.
  5. !Build Error for Windows! Please look at the README.md https://github.com/electron-userland/electron-packager/

    blob/master/readme.md#building-windows-apps-from- non-windows-platforms