feat: refresh player count

This commit is contained in:
aclist committed 2026-04-18 18:15:27 +09:00
1 parent 06450ddadc
commit e1f54bd75d
6 files changed
+105 -32

No files matched your search

+5
View File
@@ -48,6 +48,11 @@ class ConfigManager:
ips.append(record)
self.update_config(Preferences.IP_LIST, ips)
def remove_saved_server(self, record: str) -> None:
ips = self.lookup(Preferences.IP_LIST)
ips.remove(record)
self.update_config(Preferences.IP_LIST, ips)
# TODO: drop/reroute
def update_config(self, key: Preferences, value: str) -> None:
self.write_config(key, value)