Skip to content

armgit / peel

Public Imported from GitHub
0

Uninstall Mac apps with every file they leave behind, and see why each belongs. Free up space, fine-tune macOS, and set up Terminal.

Let the offscreen render draw the menu bar panel again

Țugui Dragoș68a9fc6487ba
diff --git a/Peel/HomeSnapshot.swift b/Peel/HomeSnapshot.swift
index b9a19d83..fa7352dc 100644
--- a/Peel/HomeSnapshot.swift
+++ b/Peel/HomeSnapshot.swift
@@ -14,6 +14,7 @@ enum HomeSnapshot {
let helper = HelperModel()
let stats = LifetimeStats()
let found = FoundLastTimeStore()
+ let homebrew = HomebrewLibrary()
await home.refresh(helper: helper)
await ExclusionsStore.shared.load()
let window = Color(nsColor: .windowBackgroundColor)
@@ -69,7 +70,8 @@ enum HomeSnapshot {
to: "\(directory)/about-\(name).png"
)
render(
- MenuBarPanel().environment(AppLibrary()).environment(stats).environment(found),
+ MenuBarPanel().environment(AppLibrary()).environment(stats).environment(found)
+ .environment(homebrew),
width: 320,
scheme: scheme,
contrast: contrast,