WORK IN PROGRESS
Meteor Desktop
aka Meteor Electron Desktop Client
Build desktop apps with Meteor & Electron. Full integration with hot code push implementation.
cd /your/meteor/app
meteor npm install --save-dev meteor-desktop
meteor --mobile-server=127.0.0.1:3000
npm run desktop -- init
npm run desktop
What is this?
This is a complete implementation of integration between Meteor
and Electron
aiming to achieve the same level of developer experience like Meteor
gives.
To make it clear from the start, this is a desktop client - it is just like your mobile clients with cordova
- but for desktops with Electron
. It also features a full hot code push implementation - which means you can release updates the same way you are used to.
Prerequisites
- Meteor >=
1.3.4
*1 - at least basic Electron framework knowledge
- mobile platform added to project*2
*1 1.3.3
is supported if you will install meteor-desktop
with npm >= 3
*2 you can always build with --server-only
so you do not actually have to have android sdk or xcode to go on with your project
Documentation
Starting
If you have not run the example from the top of this readme, first you need to scaffold a .desktop
dir in which your Electron
's main process code lives.
To do that run: (assuming npm install --save-dev meteor-desktop
did add a desktop
entry in the package.json scripts
section)
npm run desktop -- init
This will generate an exemplary .desktop
dir. Lets tak a look what we can find there:
assets <dir>
import <dir>
modules <dir>
desktop.js
settings.json
squirrelEvents.js