diff --git a/.travis.yml b/.travis.yml index f2d34342..b37becb1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,3 +5,6 @@ node_js: before_script: - npm install grunt-cli -g script: grunt +cache: + directories: + - node_modules diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e4e77e0..24e72147 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/installers/postinstall/postinstall.sh b/installers/postinstall/postinstall.sh new file mode 100644 index 00000000..dc19df98 --- /dev/null +++ b/installers/postinstall/postinstall.sh @@ -0,0 +1,2 @@ +echo "\033[32mMagicMirror installation successful!" +exit 0 diff --git a/package.json b/package.json index 37ebbf0f..5b85915a 100644 --- a/package.json +++ b/package.json @@ -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",