mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-25 14:28:32 +00:00
Looks like `NSWorkspace.shared.setIcon` can only be called from the main App, DockTilePlugin is sandboxed and doesn't have the permission to `file-write-finderinfo`. It works fine in debug, but not in release. This fixes #11489, #11290
9 lines
251 B
Swift
9 lines
251 B
Swift
import AppKit
|
|
|
|
extension Notification.Name {
|
|
/// Distributed Notification for DockTilePlugin to update icon
|
|
///
|
|
/// Ghostty -> DockTilePlugin
|
|
static let ghosttyIconDidChange = Notification.Name("com.mitchellh.ghostty.iconDidChange")
|
|
}
|