Commit 73906c3
committed
cask: show accurate log messages for in-place upgrades
When a terminal has App Management or Full Disk Access permissions,
Homebrew upgrades cask apps in-place by replacing only the contents of
the .app directory, preserving its inode and macOS metadata (Dock
position, notification settings, granted permissions).
However, the log output still printed "Removing App" and "Moving App"
as if the entire bundle were being deleted and reinstalled.
With this change:
- In-place upgrades print a single "Upgrading App in-place" message
- Full replacement upgrades continue to print "Removing App" and
"Moving App" as before1 parent 6e01bb1 commit 73906c3
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
107 | 105 | | |
108 | 106 | | |
109 | 107 | | |
| |||
116 | 114 | | |
117 | 115 | | |
118 | 116 | | |
| 117 | + | |
119 | 118 | | |
120 | 119 | | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | 182 | | |
184 | 183 | | |
185 | 184 | | |
186 | 185 | | |
187 | 186 | | |
188 | 187 | | |
189 | 188 | | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| |||
0 commit comments