Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.
Swift cache-cleanercleanerclideveloper-toolsdisk-cleanupdisk-spaceduplicate-finderhomebrewliquid-glassmac-cleanermacosmacos-appmacos-golden-gatemacos-tahoemacos-tweaksswiftswiftuiterminal-themesuninstalluninstaller
Say when the snapshot can't make a picture, not only when it can't save one
Țugui Dragoș20a193c859e6
diff --git a/Peel/HomeSnapshot.swift b/Peel/HomeSnapshot.swiftindex 999da03f..cb308f6c 100644--- a/Peel/HomeSnapshot.swift+++ b/Peel/HomeSnapshot.swift@@ -116,9 +116,9 @@ enum HomeSnapshot {let renderer = ImageRenderer(content: content)renderer.scale = 2guard let image = renderer.nsImage, let data = image.tiffRepresentation,- let bitmap = NSBitmapImageRep(data: data)- else { return }- try bitmap.representation(using: .png, properties: [:])?.write(to: URL(filePath: path))+ let png = NSBitmapImageRep(data: data)?.representation(using: .png, properties: [:])+ else { throw CocoaError(.fileWriteUnknown, userInfo: [NSFilePathErrorKey: path]) }+ try png.write(to: URL(filePath: path))}}#endif