diff --git a/Sources/App/AppDelegate.swift b/Sources/App/AppDelegate.swift index 99d71ec..7b9aaad 100644 --- a/Sources/App/AppDelegate.swift +++ b/Sources/App/AppDelegate.swift @@ -470,21 +470,6 @@ final class AppDelegate: NSObject, NSApplicationDelegate, NSSpeechSynthesizerDel } } - /// Reminder 专用文件日志,写入 ~/Library/Logs/VoiceInput/reminder.log - private func reminderLog(_ msg: String) { - let logPath = logDir + "/reminder.log" - let ts = ISO8601DateFormatter().string(from: Date()) - let line = "[\(ts)] \(msg)\n" - if let handle = FileHandle(forWritingAtPath: logPath) { - handle.seekToEndOfFile() - handle.write(line.data(using: .utf8)!) - handle.closeFile() - } else { - // 文件不存在时创建 - try? line.write(toFile: logPath, atomically: true, encoding: .utf8) - } - } - private func showAgentNotch() { showAgentNotchInternal(isTextInput: false) }