diff --git a/Makefile b/Makefile index 82387f5..eaf6f00 100644 --- a/Makefile +++ b/Makefile @@ -45,10 +45,9 @@ run: .PHONY: run-dev run-dev: - docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister windmill_app --silent --force || true - docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register windmill_app --json-info \ - "{\"id\":\"windmill_app\",\"name\":\"Workflow Engine\",\"version\":\"1.0.0\",\"docker-install\":{\"registry\":\"ghcr.io\", \"image\":\"cloud-py-api/windmill_app\", \"image-tag\":\"latest\"},\"scopes\":[\"ALL\"]}" \ - --force-scopes --wait-finish + docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:unregister windmill_app --silent --force --keep-data || true + docker exec master-nextcloud-1 sudo -u www-data php occ app_api:app:register windmill_app --force-scopes \ + --info-xml https://raw.githubusercontent.com/cloud-py-api/windmill_app/main/appinfo/info-dev.xml .PHONY: register register: diff --git a/appinfo/info-dev.xml b/appinfo/info-dev.xml new file mode 100644 index 0000000..62a4e75 --- /dev/null +++ b/appinfo/info-dev.xml @@ -0,0 +1,46 @@ + + + windmill_app + Workflow Engine + Nextcloud Workflow Engine + + + + 1.0.0 + MIT + Julien Veyssier + Marcel Klehr + Alexander Piskun + PyAppV2_windmill + tools + https://github.com/cloud-py-api/windmill_app + https://github.com/cloud-py-api/windmill_app/issues + https://github.com/cloud-py-api/windmill_app + + + + + + ghcr.io + cloud-py-api/windmill_app + latest + + + ALL + + + + ^api\/w\/nextcloud\/jobs\/.* + GET,POST,PUT,DELETE + PUBLIC + [] + + + .* + GET,POST,PUT,DELETE + ADMIN + [] + + + +