Skip to content

fix: generate a real app icon, document brew trust - #14

Merged
Lixeas merged 1 commit into
mainfrom
fix/app-icon-and-brew-trust
Sep 25, 2026
Merged

Lixeas merged 1 commit into
mainfrom
fix/app-icon-and-brew-trust

Conversation

@Lixeas

@Lixeas Lixeas commented Sep 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Scripts/generate-icon.swift rasterizes the vector brand SVG to every size iconutil needs, packed into AppIcon.icns, copied into the bundle before codesign, referenced via CFBundleIconFile. The app/.dmg had no custom icon at all before this.
  • README: documents brew trust --cask as a required one-time step (Homebrew 6.0+ requires explicit trust for non-official taps).
  • Root cause of the reported 404 was repo visibility (private repo → unauthenticated release-asset downloads 404), not the cask itself — fixed separately by making the repo public.

Not verified

No macOS/Swift toolchain on this machine to test Scripts/generate-icon.swift directly. Logic is a straightforward NSImage vector draw + iconutil, but the actual rendered icon needs a look on the next real tagged release.

Test plan

  • swift build/swift test still pass (script lives outside the SPM package, untouched by these)
  • Next release tag: confirm NotchWatch.app shows a real icon in Finder/Applications

- Scripts/generate-icon.swift: rasterizes the vector brand SVG to every
  size iconutil needs (NSImage draws it as vector, not a scaled-up 16px
  bitmap), packed into AppIcon.icns and copied into the bundle before
  codesign. Info.plist now sets CFBundleIconFile. The app and .dmg had no
  icon at all before this (default generic icon).
- README: brew trust --cask is now a required one-time step before install
  (Homebrew 6.0 requires explicit trust for non-official taps) -- users
  were hitting this prompt unexplained.

Not verified locally: no macOS/Swift toolchain on this machine. Logic is
straightforward (NSImage vector draw + iconutil) but the actual icon needs
checking on the next real release run.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@Lixeas
Lixeas merged commit 282a2f2 into main Sep 25, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant