diff --git a/rel/app/macos/Resources/MenuBarIcon.png b/rel/app/macos/Resources/MenuBarIcon.png deleted file mode 100644 index 866c9ce08..000000000 Binary files a/rel/app/macos/Resources/MenuBarIcon.png and /dev/null differ diff --git a/rel/app/macos/Sources/Livebook/Livebook.swift b/rel/app/macos/Sources/Livebook/Livebook.swift index a2920ac0c..c33c4c747 100644 --- a/rel/app/macos/Sources/Livebook/Livebook.swift +++ b/rel/app/macos/Sources/Livebook/Livebook.swift @@ -53,7 +53,12 @@ class AppDelegate: NSObject, NSApplicationDelegate { statusItem = NSStatusBar.system.statusItem(withLength: NSStatusItem.variableLength) let button = statusItem.button! - button.image = NSImage(named: "MenuBarIcon") + let icon = NSImage(named: "LivebookIcon")! + let resizedIcon = NSImage(size: NSSize(width: 18, height: 18), flipped: false) { (dstRect) -> Bool in + icon.draw(in: dstRect) + return true + } + button.image = resizedIcon let menu = NSMenu() let copyURLItem = NSMenuItem(title: "Copy URL", action: nil, keyEquivalent: "c")