← Commit history

Dock manifest: adom-shotlog is the first icon (the reference container_command launch: native /exec, explained placeholder, webview takeover)

John Lauer ·1f31995a50 ·3mo ago ·parent af99813
1 file changed +23−1
dock/apps.json+23−1
@@ -14,6 +14,28 @@   "poll_seconds": 21600,   "manual_refresh_cooldown_seconds": 60,   "apps": [+    {+      "id": "shotlog",+      "wiki_repo": "adom/adom-shotlog",+      "featured": true,+      "order": 1,+      "webview": {+        "title": "Adom Shotlog"+      },+      "launch": {+        "mode": "container_command",+        "steps": [+          {+            "label": "Starting the Adom Shotlog service in your workspace",+            "run": "(systemctl is-active adom-shotlog.service >/dev/null 2>&1 || sudo -n systemctl start adom-shotlog.service 2>/dev/null || (setsid nohup adom-shotlog serve >/tmp/shotlog-dock.log 2>&1 &)); for i in $(seq 1 30); do curl -sf http://127.0.0.1:8820/health >/dev/null 2>&1 && { echo URL_READY http://localhost:8820/log/; break; }; sleep 1; done",+            "await": "url",+            "url_pattern": "http://localhost:8820/log/",+            "timeout_seconds": 60+          }+        ],+        "on_ready": "navigate_placeholder"+      }+    },     {       "id": "kicad",       "wiki_repo": "adom/adom-desktop-kicad-bridge",@@ -252,4 +274,4 @@       }     }   ]-}+}\ No newline at end of file