From 9266d1b458e7340b8e3b50d86f78ca52bf5d088a Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sat, 31 Jan 2026 02:10:13 +0000 Subject: [PATCH] if the kind is x32 override the port number --- cmd/root.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmd/root.go b/cmd/root.go index 72724aa..4b62e27 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -31,6 +31,10 @@ various commands to manage mixer settings directly from the terminal.`, kind := viper.GetString("kind") log.Debugf("Initializing client for mixer kind: %s", kind) + if kind == "x32" && !viper.IsSet("port") { + viper.Set("port", 10023) + } + client, err := xair.NewClient( viper.GetString("host"), viper.GetInt("port"),