Skip to content

Commit b555b5a

Browse files
Jen-Unoclaude
andcommitted
docs(coffee-shop): note the macOS Dock icon needs a packaged .app
Unbundled `dotnet run` shows the generic macOS Dock tile; the branded icon (generated by Uno.Resizetizer) appears when packaged via `dotnet publish -f net10.0-desktop -r osx-arm64 -p:PackageFormat=app`. The app stays fully managed — no runtime AppKit interop to brand the Dock on a dev run. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 1862bfd commit b555b5a

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

studio/coffee-shop/BrewHouse/ReadMe.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,19 @@ dotnet build BrewHouse/BrewHouse.csproj -f net10.0-ios -p:RuntimeIdentifier=ioss
5050
dotnet build BrewHouse/BrewHouse.csproj -f net10.0-android
5151
```
5252

53+
### macOS Dock icon
54+
55+
Running the desktop head unbundled (`dotnet run`) shows a **generic** macOS Dock
56+
icon — macOS only reads an app's icon from a packaged `.app` bundle. The branded
57+
icon (generated by `Uno.Resizetizer` from `Assets/Icons`) appears once you package
58+
the app as a bundle:
59+
60+
```bash
61+
dotnet publish BrewHouse/BrewHouse.csproj -f net10.0-desktop -r osx-arm64 -p:PackageFormat=app
62+
```
63+
64+
then launch the produced `BrewHouse.app`. This is intentional: the sample is fully
65+
managed and does not set the Dock icon at runtime via native (AppKit) interop.
66+
5367
For more on the Uno.Sdk and upgrading Uno Platform packages, see
5468
https://aka.platform.uno/using-uno-sdk.

0 commit comments

Comments
 (0)