Logo not showing in the macOS app after rebuild.
- Logo file exists:
public/d-logo.pngβ - Logo is included in build:
dist/d-logo.pngβ - Logo displays correctly in webapp β
- Header code is correct β
# Delete the app
rm -rf /Applications/DStudiosLab.app
# Clear app cache
rm -rf ~/Library/Application\ Support/DStudiosLab
rm -rf ~/Library/Caches/DStudiosLab
rm -rf ~/Library/Preferences/com.dstudioslab.app.plist- Open
dist-electron/DStudiosLab-1.0.0-arm64.dmg - Drag DStudiosLab to Applications
- Right-click β Open (first time)
- Launch the app
If logo still doesn't show:
- Open the app
- Press Cmd+R to reload
- Or press Cmd+Shift+R for hard refresh
- In the app, press Cmd+Option+I to open DevTools
- Go to Console tab
- Look for any errors about
d-logo.png - Check Network tab to see if the image is loading
If the image still doesn't load, we can use an inline SVG instead (no file dependency):
Edit src/components/layout/Header.tsx and replace the img tag with:
<div className="h-16 w-16 flex items-center justify-center bg-white rounded">
<svg width="64" height="64" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<text x="50" y="70" fontSize="80" fontWeight="bold" fontFamily="Arial" fill="#000" textAnchor="middle">D</text>
</svg>
</div>File: /d-logo.png
Size: 679 x 881 pixels
Format: PNG with transparency
CSS: className="h-16 w-auto object-contain"
The logo should show the full D Studio badge with:
- Hexagonal frame
- "DEVELOPER" text
- Large D with diagonal stripes
- "STUDIO" text
- "TESTER" text
Last Build: Dec 6, 2025 10:23 AM
App Version: 1.0.0
Platform: macOS ARM64