mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 22:28:24 +02:00
Sleep for a minute in the hope that macOS crash log will become available
This commit is contained in:
2
.github/workflows/ci.py
vendored
2
.github/workflows/ci.py
vendored
@@ -10,6 +10,7 @@ import shutil
|
|||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
import tarfile
|
import tarfile
|
||||||
|
import time
|
||||||
from urllib.request import urlopen
|
from urllib.request import urlopen
|
||||||
|
|
||||||
BUNDLE_URL = 'https://download.calibre-ebook.com/ci/kitty/{}-64.tar.xz'
|
BUNDLE_URL = 'https://download.calibre-ebook.com/ci/kitty/{}-64.tar.xz'
|
||||||
@@ -21,6 +22,7 @@ SW = None
|
|||||||
def do_print_crash_reports():
|
def do_print_crash_reports():
|
||||||
print('Printing available crash reports...')
|
print('Printing available crash reports...')
|
||||||
if is_macos:
|
if is_macos:
|
||||||
|
time.sleep(60)
|
||||||
for cdir in (os.path.expanduser('~/Library/Logs/DiagnosticReports'), '/Library/Logs/DiagnosticReports', '/cores'):
|
for cdir in (os.path.expanduser('~/Library/Logs/DiagnosticReports'), '/Library/Logs/DiagnosticReports', '/cores'):
|
||||||
if not os.path.exists(cdir):
|
if not os.path.exists(cdir):
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user