MagicMirror² is an open source modular smart mirror platform. With a growing list of installable modules, the MagicMirror² allows you to convert your hallway or bathroom mirror into your personal assistant.
Find a file
Bugsounet - Cédric 203e8647d4
3rd party modules updater for updatenotification (#3150)
Added my (modified) updater main core into updatenotification default
module

Missing: callback display in MM² (i will code it after)

new part of configuration added:

```
		updates: [
			// array of module update commands
			{
				// with embed npm script
				"MMM-Test": "npm run update"
			},
			{
				// with "complex" process
				"MMM-OtherSample": "rm -rf package-lock.json && git reset --hard && git pull && npm install"
			},
			{
				// with git pull && npm install
				"MMM-OtherSample2": "git pull && npm install"
			},
			{
				// with a simple git pull
				"MMM-OtherSample3": "git pull"
			}
		],
		updateTimeout: 2 * 60 * 1000, // max update duration
		updateAutorestart: false // autoRestart MM when update done ?
```

@khassel: i need your help
I don't use docker, maybe you can help me for this:
How can i check if MM² is running inside a docker ? (from MM² main core)
Actually, I check if we use pm2 or not.
I have to check if docker is used or not too
last time you tell me: "you can't use updater with docker", so I want to
check and deny any update if docker used

---------

Co-authored-by: bugsounet <bugsounet@bugsounet.fr>
2023-11-10 12:43:34 +01:00
.github Update github test action (#3247) 2023-10-23 21:37:52 +02:00
.husky husky changes 2022-01-17 21:39:21 +01:00
clientonly fix clientOnly not starting up after async startup added in 2.23 (#3154) 2023-07-16 23:04:58 +02:00
config Fix fetchInterval for sample calendar (#3139) 2023-06-30 20:13:07 +02:00
css update dependencies and main.css to match new stylelint rules (#3067) 2023-03-20 22:30:04 +01:00
fonts Update github test action (#3247) 2023-10-23 21:37:52 +02:00
installers Added missing shebang 2021-12-22 21:00:13 +01:00
js fix cloneObject() function to respect RegExp (#3240) 2023-10-19 22:31:02 +02:00
modules/default 3rd party modules updater for updatenotification (#3150) 2023-11-10 12:43:34 +01:00
serveronly Fix import order in serveronly (#3072) 2023-03-25 10:59:57 +01:00
splashscreen Show splash screen image on reboot and halt. 2017-01-27 13:42:20 -03:00
tests remove failing unit test (#3265) 2023-11-09 22:57:15 +01:00
translations 3rd party modules updater for updatenotification (#3150) 2023-11-10 12:43:34 +01:00
vendor update electron to v27 (#3241) 2023-10-19 23:44:31 +02:00
.editorconfig Add prettier, configs and editorconfig 2020-05-07 14:09:22 +02:00
.eslintignore Update ignored files for eslint 2020-04-20 11:15:11 +02:00
.eslintrc.json Add no-param-reassign from eslint (#3089) 2023-04-16 17:38:39 +02:00
.gitattributes add .gitattributes and fix prettier/js warnings (#3094) 2023-04-22 09:29:51 +02:00
.gitignore Cleanup jest config (#2959) 2022-10-28 20:57:08 +02:00
.npmrc Add Npmrc (#3135) 2023-08-20 13:14:21 +02:00
.prettierignore Fix issue #3250: Respect deleted (excluded) calendar events (#3251) 2023-11-01 07:42:47 +01:00
.prettierrc.json Add prettier, configs and editorconfig 2020-05-07 14:09:22 +02:00
.stylelintrc.json Update stylelint (#3042) 2023-02-19 21:36:50 +01:00
CHANGELOG.md 3rd party modules updater for updatenotification (#3150) 2023-11-10 12:43:34 +01:00
Collaboration.md Update config sample and collab doc (#3039) 2023-02-17 19:49:36 +01:00
index.html Fix: Uncaught SyntaxError: Identifier 'getCorsUrl' has already been declared (#3204) 2023-09-19 07:14:11 +02:00
jest.config.js set Timezone Europe/Berlin in unit tests (#3087) 2023-04-08 08:55:43 +02:00
jsconfig.json Run prettier over ALL files once 2020-05-11 22:22:32 +02:00
LICENSE.md Update license year 2022-08-16 17:32:13 +02:00
module-types.ts Update typescript definition (#3173) 2023-08-22 20:52:10 +01:00
package-lock.json 3rd party modules updater for updatenotification (#3150) 2023-11-10 12:43:34 +01:00
package.json 3rd party modules updater for updatenotification (#3150) 2023-11-10 12:43:34 +01:00
README.md removed Codecov workflow (not working anymore, other workflow required) (#3230) 2023-10-13 07:41:35 +02:00

MagicMirror²: The open source modular smart mirror platform.

License GitHub Actions Build Status

MagicMirror² is an open source modular smart mirror platform. With a growing list of installable modules, the MagicMirror² allows you to convert your hallway or bathroom mirror into your personal assistant. MagicMirror² is built by the creator of the original MagicMirror with the incredible help of a growing community of contributors.

MagicMirror² focuses on a modular plugin system and uses Electron as an application wrapper. So no more web server or browser installs necessary!

Documentation

For the full documentation including installation instructions, please visit our dedicated documentation website: https://docs.magicmirror.builders.

Contributing Guidelines

Contributions of all kinds are welcome, not only in the form of code but also with regards to

  • bug reports
  • documentation
  • translations

For the full contribution guidelines, check out: https://docs.magicmirror.builders/about/contributing.html

Enjoying MagicMirror? Consider a donation!

MagicMirror² is opensource and free. That doesn't mean we don't need any money.

Please consider a donation to help us cover the ongoing costs like webservers and email services. If we receive enough donations we might even be able to free up some working hours and spend some extra time improving the MagicMirror² core.

To donate, please follow this link.

MagPi Top 50