Commit 2ec37ee
v1.0.1: cycle FinderInfo kHasCustomIcon flag on every apply
Force a clear -> set transition of the kHasCustomIcon FinderInfo
flag on every apply (was previously just |= the bit, which on
overwrites wrote the same byte and didn't trigger any state change
Finder could observe).
Empirically does not, on its own, force Finder to refresh stale
cached volume icons -- which was the original motivation, ultimately
addressed by removing the zoom slider in 1eaa148 (the surface that
exposed the cache problem most often). But the cycle is correct
hygiene: first applies degrade to a plain set, overwrites get a
clean state transition, other FinderInfo bytes (colour labels, etc.)
are preserved.
Kept in reserve for any future macOS release where this turns out
to be the missing piece. Documented in decisions.md
("Finder cache invalidation, round 3").
NOTE: This change was already present in the v1.0.1 notarized .app
exported earlier (built locally after the edit, before being
committed). Committing now so the repo matches the shipped binary
before the tag moves to point here.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1eaa148 commit 2ec37ee
1 file changed
Lines changed: 23 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
96 | 102 | | |
97 | | - | |
| 103 | + | |
98 | 104 | | |
99 | 105 | | |
100 | 106 | | |
| |||
154 | 160 | | |
155 | 161 | | |
156 | 162 | | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
157 | 178 | | |
158 | 179 | | |
159 | 180 | | |
| |||
0 commit comments