...
This commit is contained in:
parent
d5fae07ab7
commit
f105bc5f4e
1 changed files with 8 additions and 0 deletions
8
.github/workflows/ci.py
vendored
8
.github/workflows/ci.py
vendored
|
|
@ -19,11 +19,19 @@
|
|||
|
||||
|
||||
def do_print_crash_reports():
|
||||
print('Printing available crash reports...')
|
||||
for cdir in (os.path.expanduser('~/Library/Logs/DiagnosticReports'), '/Library/Logs/DiagnosticReports'):
|
||||
if not os.path.exists(cdir):
|
||||
continue
|
||||
print(cdir)
|
||||
found = False
|
||||
for f in glob.glob(os.path.join(cdir, 'kitty_*')):
|
||||
found = True
|
||||
print(os.path.basename())
|
||||
with open(f) as src:
|
||||
print(src.read())
|
||||
if not found:
|
||||
print(os.listdir(cdir))
|
||||
|
||||
|
||||
def run(*a, print_crash_reports=False):
|
||||
|
|
|
|||
Loading…
Reference in a new issue