Add MPV logs export

This commit is contained in:
Arkadiusz Fal
2022-07-07 00:08:38 +02:00
parent e0a862fb36
commit 36363628d4
5 changed files with 61 additions and 5 deletions

View File

@@ -20,6 +20,10 @@ struct YatteeApp: App {
ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] == "1"
}
static var logsDirectory: URL {
URL(fileURLWithPath: NSTemporaryDirectory(), isDirectory: true)
}
#if os(macOS)
@NSApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
#elseif os(iOS)