From 6a0b8e531b08850a8767af8737b8a0e3c8e6951a Mon Sep 17 00:00:00 2001 From: AbdBarho Date: Wed, 2 Nov 2022 21:02:27 +0100 Subject: [PATCH] Updated Usage (markdown) --- Usage.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Usage.md b/Usage.md index 8c841af..649e4a7 100644 --- a/Usage.md +++ b/Usage.md @@ -36,6 +36,14 @@ put your scripts `data/config/auto/scripts` and restart the container put your extensions in `data/config/auto/extensions`, there is also the option to create a script `data/config/auto/startup.sh` which will be called on container startup, in case you want to install any additional dependencies for your extensions or anything else. +An example of your `startup.sh` might looks like this: +```sh +# install all packages for the extensions +for s in extensions/*/install.py; do + python "$s" +done +``` + ### **DONT OPEN AN ISSUE IF A SCRIPT OR AN EXTENSION IS NOT WORKING** I maintain neither the UI nor the extension, I can't help you.