Merge pull request #619 from nhubbard/develop

Add postinstall script
This commit is contained in:
Michael Teeuw 2017-01-15 00:19:58 +01:00 committed by GitHub
commit 46d5b70391
4 changed files with 9 additions and 2 deletions

View File

@ -5,3 +5,6 @@ node_js:
before_script:
- npm install grunt-cli -g
script: grunt
cache:
directories:
- node_modules

View File

@ -9,7 +9,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Changed
- Installer: Use init config.js from config.js.sample.
- Switched out `rrule` package for `rrule-alt` in order to improve calendar issues. (Experimental: [#565](https://github.com/MichMich/MagicMirror/issues/565))
- Make mouse events pass through the region fullscreen_above to modules below.
- Make mouse events pass through the region fullscreen\_above to modules below.
### Added
- Add loaded function to modules, providing an async callback.
@ -17,6 +17,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Add use pm2 for manager process into Installer RaspberryPi script
- Russian Translation
- Afrikaans Translation
- Add postinstall script to notify user that MagicMirror installed successfully despite warnings from NPM.
### Fixed
- Update .gitignore to not ignore default modules folder.

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.",
"main": "js/electron.js",
"scripts": {
"start": "electron js/electron.js"
"start": "electron js/electron.js",
"postinstall": "sh installers/postinstall/postinstall.sh"
},
"repository": {
"type": "git",