- 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
void AddRecentDocument(const base::FilePath& path);
  
  void ClearRecentDocuments();
  
  void SetAppUserModelID(const base::string16& name);
  
  bool RemoveAsDefaultProtocolClient(const std::string& protocol);
  
  bool SetAsDefaultProtocolClient(const std::string& protocol);
  
  bool IsDefaultProtocolClient(const std::string& protocol);
  
  bool SetBadgeCount(int count);
  int GetBadgeCount();
#if defined(OS_MACOSX)
  
  void Hide();
  
  void Show();
  
  void SetUserActivity(const std::string& type,
                       const base::DictionaryValue& user_info,
                       mate::Arguments* args);
  
  std::string GetCurrentActivityType();
  
  bool ContinueUserActivity(const std::string& type,
                            const base::DictionaryValue& user_info);
  
  enum BounceType {