bugy / script-server

Web UI for your scripts with execution management
Other
1.52k stars 244 forks source link

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

Open agail opened 3 months ago

agail commented 3 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