From 568418c3657bf8242fc821c4daf9edae5eb4a4a9 Mon Sep 17 00:00:00 2001 From: Paul Varache Date: Tue, 13 Feb 2018 15:43:55 +0000 Subject: [PATCH] Add demo doc --- README.md | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 59580d9..78264d8 100644 --- a/README.md +++ b/README.md @@ -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'); diff --git a/package.json b/package.json index a2e68c4..d7ec594 100644 --- a/package.json +++ b/package.json @@ -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/"