From 233dcd69ecfcf37b408f902f8a7262c994892a96 Mon Sep 17 00:00:00 2001 From: TSR Berry <20988865+TSRBerry@users.noreply.github.com> Date: Thu, 14 Sep 2023 22:23:14 +0200 Subject: [PATCH] log_analyser: Fix homebrew detection --- robocop_ng/helpers/ryujinx_log_analyser.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/robocop_ng/helpers/ryujinx_log_analyser.py b/robocop_ng/helpers/ryujinx_log_analyser.py index 4576218d..c731a0c3 100644 --- a/robocop_ng/helpers/ryujinx_log_analyser.py +++ b/robocop_ng/helpers/ryujinx_log_analyser.py @@ -37,7 +37,9 @@ class LogAnalyser: @staticmethod def is_homebrew(log_file: str) -> bool: - return re.search("LoadApplication: Loading as Homebrew", log_file) is not None + return ( + re.search("Load.*Application: Loading as [Hh]omebrew", log_file) is not None + ) @staticmethod def get_main_ro_section(log_file: str) -> Optional[dict[str, str]]: