From 103b994c60f6c8148373035ec9766ffac5288a8d Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 1 Jul 2026 08:01:45 +0800 Subject: [PATCH] =?UTF-8?q?debug:=20=E6=B7=BB=E5=8A=A0=E5=BD=95=E5=88=B6?= =?UTF-8?q?=E6=B5=81=E7=A8=8B=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/PlayerRecorder.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/PlayerRecorder.swift b/Sources/PlayerRecorder.swift index 0363bf8..be8cec6 100644 --- a/Sources/PlayerRecorder.swift +++ b/Sources/PlayerRecorder.swift @@ -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)