Add postinstall script for installation

This commit is contained in:
Nicholas Hubbard 2017-01-14 15:32:59 -05:00
parent 8010e6220d
commit 0d672420f7
No known key found for this signature in database
GPG Key ID: D5C5AC27D251DC4A
2 changed files with 4 additions and 1 deletions

View File

@ -0,0 +1,2 @@
echo "\033[32mMagicMirror installation successful!"
exit 0

View File

@ -4,7 +4,8 @@
"description": "A modular interface for smart mirrors.", "description": "A modular interface for smart mirrors.",
"main": "js/electron.js", "main": "js/electron.js",
"scripts": { "scripts": {
"start": "electron js/electron.js" "start": "electron js/electron.js",
"postinstall": "sh installers/postinstall.sh"
}, },
"repository": { "repository": {
"type": "git", "type": "git",