Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add postinstall script #619

Merged
merged 5 commits into from Jan 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There a change introduced here not related.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was just an unescaped italics item. I fixed it because my text editor was freaking out.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Pull Request isnt refect the fix and is already merged. I pushed a new #621


### 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