fix: macos Support

This commit is contained in:
xkeyC
2025-11-19 11:53:45 +08:00
parent aaaee30368
commit 0983ebe21f
13 changed files with 184 additions and 177 deletions

View File

@@ -127,11 +127,7 @@ class PartyRoom extends _$PartyRoom {
final serverAddress = URLConf.partyRoomServerAddress;
final serverPort = URLConf.partyRoomServerPort;
final channel = ClientChannel(
serverAddress,
port: serverPort,
options: const ChannelOptions(credentials: ChannelCredentials.insecure()),
);
final channel = ClientChannel(serverAddress, port: serverPort);
final authClient = auth.AuthServiceClient(channel);
final roomClient = partroom.PartRoomServiceClient(channel);