         })
         
     }
-    
-    // MARK: Notification
-    func devicesChangedNotification() {
-        updateDeviceMenus()
-    }
 }

        }
    }
    
    // MARK: - NSMenuDelegate
    func menuWillOpen(_ menu: NSMenu) {
        let bootedDevices = Device.bootedDevices()


import Cocoa

class MainMenuController: NSObject {
    let statusItem = NSStatusBar.system().statusItem(withLength: NSVariableStatusItemLength)
    var devices: [DeviceModel] = []
    var deviceItems: [NSMenuItem] = []
