debug: 添加录制流程日志
This commit is contained in:
parent
16fdd72271
commit
103b994c60
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user