From f271f17460caba1d6e7846ffdd7a10a81fcce04e Mon Sep 17 00:00:00 2001
From: Timothee 'TTimo' Besset <ttimo@valvesoftware.com>
Date: Tue, 28 Nov 2023 12:07:34 -0600
Subject: [PATCH] Decks that are not in developer mode do not advertise over
 mDNS - mention this when no devices are visible.

---
 client/devkit_client/gui2/gui2.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/client/devkit_client/gui2/gui2.py b/client/devkit_client/gui2/gui2.py
index e837e49..3193ccb 100644
--- a/client/devkit_client/gui2/gui2.py
+++ b/client/devkit_client/gui2/gui2.py
@@ -1359,7 +1359,10 @@ class DevkitsWindow(ToolWindow):
                 buttons_index += 1
 
         if len(online_kits) == 0 and len(other_kits) == 0:
-            imgui.text('No devkit discovered on the network (mDNS). If your devkit is running, please add by IP.')
+            imgui.text('No devkit discovered on the network (mDNS).')
+            imgui.text('Make sure the device is in developer mode (Settings -> System -> Enable Developer Mode).')
+            imgui.text('You may need to add the device by IP.')
+            imgui.separator()
 
         if len(online_kits) == 0:
             imgui.text('No registered devkits online! Add a devkit to start.')
-- 
GitLab