mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-10 09:40:53 +01:00
Fix a mistake saving the log
This commit is contained in:
parent
aa207eaa44
commit
183514b27d
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user