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 118c9837..9d69eb58 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.sh" }, "repository": { "type": "git",