mirror of
https://github.com/Ryujinx/ryuko-ng.git
synced 2024-12-23 06:45:36 +00:00
log_analyser: Fix homebrew detection (#78)
This commit is contained in:
parent
97a26a76ad
commit
c33f4f29a2
|
@ -37,7 +37,9 @@ class LogAnalyser:
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def is_homebrew(log_file: str) -> bool:
|
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
|
@staticmethod
|
||||||
def get_main_ro_section(log_file: str) -> Optional[dict[str, str]]:
|
def get_main_ro_section(log_file: str) -> Optional[dict[str, str]]:
|
||||||
|
|
Loading…
Reference in a new issue