bugy / script-server

Web UI for your scripts with execution management
Other
1.61k stars 249 forks source link

Feature: GUI edit runners in subdirs of /conf/runners/<directory>/script.json #743

Open agail opened 8 months ago

agail commented 8 months ago

Script-Server is able to read all runner-jsons in subdirs of conf/runners/. However, when editing it fails to save, checking the log says: Failed to find script path: conf/runners/script.json

As an example, I have a runner called admin_themes.json which I wish to place under conf/runners/admin. The script loads and executes correctly, but fails when saving: Failed to find script path: conf/runners/admin_themes.json Making a symlink is not an option since the script would display it twice on the menu.

It would be great if this could be implemented, making organizing a bit easier if you have +50 runners.

.
└── conf
    ├── runners
    │   ├── admin
    │   │   └── admin_themes.json
    │   └── admin_themes.json -> admin/admin_themes.json    # making a symlink displays it twice on the menu
    ├── schedules
    └── theme

Edit: Running 1.19 docker image