# Fix destructive menu icon showing app logo on non-macOS · screen/t3code-personal

[View on GitCafe](https://git.cafe/screen/t3code-personal/commit/a3aa4bd189721a87271e9d7a1bed0cb605bc5eee)

Repository: [screen/t3code-personal](https://git.cafe/screen/t3code-personal)

Visibility: public

Requested revision: a3aa4bd189721a87271e9d7a1bed0cb605bc5eee

Requested commit: a3aa4bd189721a87271e9d7a1bed0cb605bc5eee

Commit: a3aa4bd189721a87271e9d7a1bed0cb605bc5eee

Tree: 972d4624fc4c7ab88b79b00a91fffddddecbf12d

Author: Julius Marminge

Committer: Julius Marminge

## Message

```
Fix destructive menu icon showing app logo on non-macOS

getDestructiveMenuIcon fell back to resolveIconPath("png") on
Windows/Linux which resolved to the T3 Code app icon, not a trash
icon. Restrict the icon to macOS where createFromNamedImage("trash")
provides the correct system icon.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

```

## Parents

- [5a0006f7efabb03888573a2029f1d0a30b614422](https://git.cafe/screen/t3code-personal/commit/5a0006f7efabb03888573a2029f1d0a30b614422?format=markdown)

[Source at this commit](https://git.cafe/screen/t3code-personal/tree/a3aa4bd189721a87271e9d7a1bed0cb605bc5eee?format=markdown)
