Skip to content

Commit

Permalink
client: ios: add reports
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Feb 22, 2022
1 parent a7bbc13 commit 746c971
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/rpcclient/rpcclient/ios/client.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
import typing

from rpcclient.darwin.client import DarwinClient
from rpcclient.darwin.reports import Reports
from rpcclient.ios.backlight import Backlight

CRASH_REPORTS_DIR = 'Library/Logs/CrashReporter'


class IosClient(DarwinClient):
def __init__(self, sock, sysname: str, hostname: str, port: int = None):
super().__init__(sock, sysname, hostname, port)
self.backlight = Backlight(self)
self.reports = Reports(self, CRASH_REPORTS_DIR)

@property
def roots(self) -> typing.List[str]:
Expand Down

0 comments on commit 746c971

Please sign in to comment.