From 183514b27ddb37c561f97885a3947bede92521a8 Mon Sep 17 00:00:00 2001 From: vectorsigma72 Date: Sat, 4 Jan 2020 16:11:57 +0100 Subject: [PATCH] Fix a mistake saving the log --- CloverApp/CloverDaemonNew/CloverDaemonNew/BootInstaller.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CloverApp/CloverDaemonNew/CloverDaemonNew/BootInstaller.swift b/CloverApp/CloverDaemonNew/CloverDaemonNew/BootInstaller.swift index 11f4a43a6..64f7730bf 100644 --- a/CloverApp/CloverDaemonNew/CloverDaemonNew/BootInstaller.swift +++ b/CloverApp/CloverDaemonNew/CloverDaemonNew/BootInstaller.swift @@ -41,7 +41,7 @@ class Installer: NSObject { && fm.fileExists(atPath: ktempLogPath) { let finalLogPath = self.gTargetVolume!.addPath("EFI/CLOVER/Clover.app_install.log") do { - let data = try Data(contentsOf: URL(fileURLWithPath: finalLogPath)) + let data = try Data(contentsOf: URL(fileURLWithPath: ktempLogPath)) (data as NSData).write(toFile: finalLogPath, atomically: false) } catch { print(error)