debug: 添加录制流程日志

This commit is contained in:
yumoqing 2026-07-01 08:01:45 +08:00
parent 16fdd72271
commit 103b994c60

View File

@ -76,6 +76,7 @@ final class PlayerRecorder: NSObject {
//
let attrs = try? FileManager.default.attributesOfItem(atPath: tempURL.path)
let fileSize = (attrs?[.size] as? Int64) ?? 0
NSLog("[Recorder] File exists: %d, size: %lld", FileManager.default.fileExists(atPath: tempURL.path), fileSize)
if fileSize > 0 {
NSLog("[Recorder] File exists with size %lld, offering save dialog", fileSize)
self?.showSaveDialog(tempURL: tempURL)