-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed as not planned
Closed as not planned
Copy link
Description
I wrote the module MMM-ModInstall which checks for an install object beside the module config and does install the module if the module dir not exists.
Example:
let config = {
modules: [
{
module: "MMM-ModInstall",
},
{
module: "MMM-Flights",
install: {
url: "https://gitlab.com/khassel/MMM-Flights.git",
branch: "",
command: "",
timeout: 300; // in sec.
},
config: {
// module config ...
},
},
],
};Problems with this approach
- you need to install
MMM-ModInstallbefore you can use it (bad for automation) MMM-ModInstallmust be the first module inmodulessection to install following modules
I think auto installation should be a feature of core mm. This would solve the above problems und the config.js would contain all values for (re)installing the modules.
It is an additional feature and will not break any existing stuff.
I would be happy to move the ~40 lines of code into mm core if accepted.
Reactions are currently unavailable