diff --git a/Hollow/Services/GameService/GameService.cs b/Hollow/Services/GameService/GameService.cs index 85c758b..322fb27 100644 --- a/Hollow/Services/GameService/GameService.cs +++ b/Hollow/Services/GameService/GameService.cs @@ -29,8 +29,8 @@ public bool ValidateGameDirectory(string directoryPath) GameVersion = configIniFile.First(line => line.StartsWith("game_version=")).Split("=")[1]; GameBiz = configIniFile.First(line => line.StartsWith("cps=")).Split("=")[1] switch { - "hyp_mihoyo" => GameServer.China, - "hyp_hoyoverse" => GameServer.Global, + "mihoyo" => GameServer.China, + "hoyoverse" => GameServer.Global, _ => throw new ArgumentOutOfRangeException() }; Log.Information("[GameService] Game directory validated ({path})", directoryPath);