Skip to content

Commit

Permalink
log_analyser: Fix homebrew detection (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
TSRBerry committed Oct 9, 2023
1 parent 97a26a7 commit c33f4f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion robocop_ng/helpers/ryujinx_log_analyser.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]]:
Expand Down

0 comments on commit c33f4f2

Please sign in to comment.