summaryrefslogtreecommitdiff
path: root/client/settings.gd
diff options
context:
space:
mode:
authornokoe <nokoe@mailbox.org>2024-09-28 23:28:03 +0200
committernokoe <nokoe@mailbox.org>2024-09-28 23:31:00 +0200
commit3df8e2c3167849023c822004b4525bcae7bb3cd1 (patch)
treeada35b64dee43fd540bcc816c6e613f24fb5208c /client/settings.gd
parentb31b08da8b4d3730040eb9fe73be9ab2452ebfa0 (diff)
downloadhurrycurry-3df8e2c3167849023c822004b4525bcae7bb3cd1.tar
hurrycurry-3df8e2c3167849023c822004b4525bcae7bb3cd1.tar.bz2
hurrycurry-3df8e2c3167849023c822004b4525bcae7bb3cd1.tar.zst
start and use mdns discovery in client; fixes #177
Diffstat (limited to 'client/settings.gd')
-rw-r--r--client/settings.gd7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/settings.gd b/client/settings.gd
index 667ffa41..eddc5207 100644
--- a/client/settings.gd
+++ b/client/settings.gd
@@ -70,6 +70,13 @@ static func get_root():
ToggleSetting.new("upnp", false),
ToggleSetting.new("mdns", false),
ToggleSetting.new("register", false),
+ ]),
+ SettingsCategory.new("online", [
+ # TODO: make this opt-in
+ ToggleSetting.new("use_registry", true),
+ TextSetting.new("registry_url", "https://hurrycurry-registry.metamuffin.org/"),
+ ToggleSetting.new("use_discovery", true),
+ TextSetting.new("discovery_binary", ""),
])
])