Fix -17 error

This commit is contained in:
Stossy11 2025-04-14 19:00:13 +10:00
parent 7ab8a25706
commit ff0e89356a

View file

@ -540,14 +540,6 @@ func startHeartbeatInBackground() {
if FileManager.default.fileExists(atPath: URL.documentsDirectory.appendingPathComponent("DDI/Image.dmg.trustcache").path) {
MountingProgress.shared.pubMount()
}
Timer.scheduledTimer(withTimeInterval: 0.5, repeats: true) { timer in
if !isHeartbeat {
startHeartbeatInBackground()
timer.invalidate()
}
}
} else {
print("Error: \(message ?? "") (Code: \(result))")
DispatchQueue.main.async {