mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-22 15:35:38 +00:00
log_analyser: Fix homebrew detection (#78)
This commit is contained in:
parent
97a26a76ad
commit
c33f4f29a2
|
@ -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]]:
|
||||
|
|
Loading…
Reference in a new issue