   */
   func destroy() {
     hide()
-    // tray.hide()
-    tray.destroy()
     output?.destroy()
   }
-//
-//  /**
-//    User clicked 'Open in Terminal'
-//    Opening @path in Terminal App
-//    // TODO: Move logic from Bash to Terminal
-//  */
-//  func preferenceDidOpenInTerminal() {
-//    Bash.open(script: path)
-//  }
-//
-//  /**
-//    User clicked 'Refresh All'
-//  */
-//  func preferenceDidRefreshAll() {
-//    delegate?.preferenceDidRefreshAll()
-//  }
-//
-//  /**
-//    User clicked 'Quit'
-//  */
-//  func preferenceDidQuit() {
-//    delegate?.preferenceDidQuit()
-//  }
-//
-//  /**
-//    User changed plugin folder
-//  */
-//  func preferenceDidChangePluginFolder() {
-//    delegate?.preferenceDidChangePluginFolder()
-//  }
 }

  */
  func didReceiveError(_ data: String) {
    // TODO: Implement a proper tray.set(error: ...) function
    tray.clear(title: "Error...")
  }

  /**

class Plugin {
  private let file: File
  private let path: String
  // private let tray = Tray(title: "…")
  private var output: Output?

  /**
