mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-07-24 04:16:00 +00:00
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>
49 lines
1.5 KiB
JSON
49 lines
1.5 KiB
JSON
{
|
|
"LOADING": "Loading …",
|
|
|
|
"YESTERDAY": "Yesterday",
|
|
"TODAY": "Today",
|
|
"TOMORROW": "Tomorrow",
|
|
"RUNNING": "Ends in",
|
|
"EMPTY": "No upcoming events.",
|
|
"WEEK": "Week {weekNumber}",
|
|
|
|
"N": "N",
|
|
"NNE": "NNE",
|
|
"NE": "NE",
|
|
"ENE": "ENE",
|
|
"E": "E",
|
|
"ESE": "ESE",
|
|
"SE": "SE",
|
|
"SSE": "SSE",
|
|
"S": "S",
|
|
"SSW": "SSW",
|
|
"SW": "SW",
|
|
"WSW": "WSW",
|
|
"W": "W",
|
|
"WNW": "WNW",
|
|
"NW": "NW",
|
|
"NNW": "NNW",
|
|
|
|
"FEELS": "Feels like {DEGREE}",
|
|
"PRECIP_POP": "PoP",
|
|
"PRECIP_AMOUNT": "Precipitation amount",
|
|
|
|
"MODULE_CONFIG_CHANGED": "The configuration options for the {MODULE_NAME} module have changed.\nPlease check the documentation.",
|
|
"MODULE_CONFIG_ERROR": "Error in the {MODULE_NAME} module. {ERROR}",
|
|
"MODULE_ERROR_MALFORMED_URL": "Malformed url.",
|
|
"MODULE_ERROR_NO_CONNECTION": "No internet connection.",
|
|
"MODULE_ERROR_UNAUTHORIZED": "Authorization failed.",
|
|
"MODULE_ERROR_UNSPECIFIED": "Check logs for more details.",
|
|
|
|
"NEWSFEED_NO_ITEMS": "No news at the moment.",
|
|
|
|
"UPDATE_NOTIFICATION": "MagicMirror² update available.",
|
|
"UPDATE_NOTIFICATION_MODULE": "Update available for {MODULE_NAME} module.",
|
|
"UPDATE_INFO_SINGLE": "The current installation is {COMMIT_COUNT} commit behind on the {BRANCH_NAME} branch.",
|
|
"UPDATE_INFO_MULTIPLE": "The current installation is {COMMIT_COUNT} commits behind on the {BRANCH_NAME} branch.",
|
|
"UPDATE_NOTIFICATION_DONE": "Update done for {MODULE_NAME} module",
|
|
"UPDATE_NOTIFICATION_ERROR": "Update error for {MODULE_NAME} module",
|
|
"UPDATE_NOTIFICATION_NEED-RESTART": "Restarting of MagicMirror is required."
|
|
}
|