Fix setupError not logged

This commit is contained in:
世界
2026-04-23 08:12:52 +08:00
parent b48f4ad97f
commit 6559720e00
4 changed files with 29 additions and 5 deletions
+3
View File
@@ -15,6 +15,9 @@ setupOptions.tempPath = WorkingDirectoryManager.helperTempDirectoryPath
setupOptions.crashReportSource = "RootHelper"
var setupError: NSError?
LibboxSetup(setupOptions, &setupError)
if let setupError {
NSLog("setup service error: \(setupError.localizedDescription)")
}
let service = RootHelperService()
service.pendingCrashLogs = pendingCrashLogs