- Electron version: 1.2.3
- Operating system: OSX 10.11.3

On OSX there is an option to hide an application that's launched automatically on login `Users & Groups > Login Items`. Electron app does not respect this option and displays the main renderer window when launched at login. 

Is there a way to detect either
- that the app was launched at login, or
- that the app was hidden at launch

?

atom/browser/browser.h
}
namespace gfx {
class Image;
}
namespace atom {
class LoginHandler;
class Browser : public WindowListObserver {
 public:
  Browser();
  ~Browser();
  static Browser* Get();
  
  void Quit();
  
  void Exit(int code);
  
  void Shutdown();
  
  void Focus();
  
  std::string GetVersion() const;
  
  void SetVersion(const std::string& version);
  
  std::string GetName() const;
  
  void SetName(const std::string& name);