Conversation
Position .background, .DS_Store, .Trashes, and .VolumeIcon.icns outside the visible DMG window area (900,900) so they are not visible even when macOS is configured to show hidden files. Fixes STU-1294 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
📊 Performance Test ResultsComparing 96d3304 vs trunk site-editor
site-startup
Results are median values from multiple test runs. Legend: 🟢 Improvement (faster) | 🔴 Regression (slower) | ⚪ No change (<50ms diff) |
|
I think it may be confusing for Mac users if hidden files are not visible after they enable the display of hidden files. Let's avoid doing such hacks. |
Other successful apps like Figma follow the same pattern. The goal is that the hidden files don't overlap with logos or text, and those icons don't distract users from dragging the correct file into Applications. figma-dmg.mp4 |
|
Fair point about Figma - if popular apps are using this pattern successfully, I'm happy to go with it. I still have a slight preference for not hiding files, but it's not something I feel strongly about. Let's move forward with your approach. |
|
Hi @sejas, I am testing this but I still see the hidden files I've confirmed:
What could I be missing? 🤔 |
|
@epeicher , thanks for testing it. Make sure to eject the previous Studio mounted device: Happy to huddle sync, in case is still not working. |
|
After a huddle with @sejas we identified that I've started the Mac build, and we will check the downloadable file that will be generated for the release. |
|
@epeicher , great catch, and thanks for pointing me out in the right direction. I added the same position configuration in both places that produce dmg files. So now this PR works with |


Related issues
Proposed Changes
.background, and.VolumeIcon.icnsoutside the visible DMG window area so they don't appear when macOS is configured to show hidden filestype: "position"to move hidden files to coordinates (900, 900), well outside the 710x502 windowTesting Instructions
nvm use && npm run make:dmg-arm64(or x64)cmd+shift+.).backgroundand.VolumeIcon.icnsare no longer visible in the DMG windowcmd+shift+.)If the user has hidden files disabled, the window won’t scroll. If the user has hidden files enabled, the hidden files will appear in a corner outside the default view, and you’ll need to scroll to see them. You can toggle between these two modes by pressing
cmd+shift+..hidden-files.mp4
Pre-merge Checklist