Skip to content

Commit

Permalink
Merge pull request #619 from nhubbard/develop
Browse files Browse the repository at this point in the history
Add postinstall script
  • Loading branch information
MichMich committed Jan 14, 2017
2 parents 08a102d + 65a8b83 commit 46d5b70
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Expand Up @@ -5,3 +5,6 @@ node_js:
before_script:
- npm install grunt-cli -g
script: grunt
cache:
directories:
- node_modules
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -9,14 +9,15 @@ 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.
- Made default newsfeed module aware of gesture events from [MMM-Gestures](https://github.com/thobach/MMM-Gestures)
- 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.
Expand Down
2 changes: 2 additions & 0 deletions installers/postinstall/postinstall.sh
@@ -0,0 +1,2 @@
echo "\033[32mMagicMirror installation successful!"
exit 0
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -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",
Expand Down

0 comments on commit 46d5b70

Please sign in to comment.