mirror of
https://github.com/aclist/dztui.git
synced 2026-10-31 23:22:44 +01:00
change: interpolate client name from full command
This commit is contained in:
1 parent
052f7f0708
commit
a74d576387
1 file changed
+2
-1
@@ -185,7 +185,8 @@ class ConnectionManager:
|
|||||||
allows_downloads = (True, "")
|
allows_downloads = (True, "")
|
||||||
|
|
||||||
client = self.controller.query_config(Preferences.CLIENT)
|
client = self.controller.query_config(Preferences.CLIENT)
|
||||||
client_name = self.controller.get_steam_client_name(client)
|
# TODO: add test
|
||||||
|
client_name = client.split()[0].capitalize()
|
||||||
running = is_steam_running(client)
|
running = is_steam_running(client)
|
||||||
steam_proc = SteamProcess(client_name, running)
|
steam_proc = SteamProcess(client_name, running)
|
||||||
self.client = client
|
self.client = client
|
||||||
|
|||||||
Reference in new issue
Block a user