Skip to content

Conversation

@Keralin
Copy link

@Keralin Keralin commented Nov 26, 2025

Summary

  • Docker context support: Detect Docker socket from docker context inspect instead of hardcoded paths
  • Alternative runtimes: Add fallback support for OrbStack, Colima, and Rancher Desktop sockets
  • Apple Silicon: Include /opt/homebrew/bin in PATH for Homebrew on M1/M2 Macs
  • Modernize entry point: Replace deprecated NSApplicationMain() with NSApplication.shared.run()

Issues Fixed

Changes

Process.swift:

  • New dockerSocket property that checks docker context first, then falls back to known socket paths
  • New getDockerContextSocket() method using docker context inspect
  • Added OrbStack (~/.orbstack/run/docker.sock) and Colima (~/.colima/default/docker.sock) paths
  • Added /opt/homebrew/bin to PATH for Apple Silicon

main.swift:

  • Replaced deprecated NSApplicationMain() with modern NSApplication.shared.run()

Menu classes:

  • Updated AppDelegate access to use NSApplication.shared.delegate as? AppDelegate

Test Plan

  • Build succeeds with Xcode
  • App launches and shows menu bar icon
  • Stream opens successfully with Docker Desktop
  • Test with OrbStack
  • Test with Colima
  • Test with Rancher Desktop

- Detect Docker socket from docker context (fixes blaise-io#77, blaise-io#76, blaise-io#72, blaise-io#69)
- Add fallback support for OrbStack and Colima sockets
- Include /opt/homebrew/bin in PATH for Apple Silicon Macs
- Modernize main.swift using NSApplication.shared.run() instead of
  deprecated NSApplicationMain()
- Update AppDelegate access pattern in menu classes
@Keralin Keralin force-pushed the feature/modernize-and-fix-issues branch from c6c657e to fa104f9 Compare November 26, 2025 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant