Skip to content

Commit

Permalink
Add demo doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Varache committed Feb 13, 2018
1 parent b1f4582 commit 568418c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ Methods:

## Example

The following examnple can be run with `npm run demo` and the sources are in the `app` directory

```js
const { app } = require('electron');
const { Shell, Shellmenu } = require('kano-desktop-shell');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "kano-desktop-shell",
"version": "1.0.0",
"description": "",
"main": "index.js",
"main": "lib/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"demo": "electron app/"
Expand Down

0 comments on commit 568418c

Please sign in to comment.