Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 910 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 910 Bytes

Electron Iframe Dock Application

Rapid Electron development for HTML5 apps.

How to do:

  • clone this repository
  • drop your ready (compiled) HTML5-app in dock folder (overwrite index.html)

Then use standard NPM scripts in terminal

  • npm install
  • npm run start for test
  • npm run make for build Electron application

How it works?

Your HTML app run in borderless iframe inside Electron application.

You can connect Electron host and your page through window.postMessage API

Electron application get your HTML5-page in borderless iframe

Why?

You can develop Electron host application and your HTML5-app as independent projects.

You can fast switch your app in dock for any other project.

HTML5-app in 'dock' is completely isolated from Node/Electron.

Changelog

  • 2020-04-20
    • npm run make generate zip instead installer,
    • dock folder instead src/dock