- 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
base::string16 title;
    base::string16 description;
    base::FilePath icon_path;
    int icon_index;
  };
  
  void SetUserTasks(const std::vector<UserTask>& tasks);
  
  
  
  PCWSTR GetAppUserModelID();
#endif  
#if defined(OS_LINUX)
  
  bool IsUnityRunning();
#endif  
  
  bool OpenFile(const std::string& file_path);
  
  void OpenURL(const std::string& url);
  
  
  void Activate(bool has_visible_windows);
  
  void WillFinishLaunching();
  void DidFinishLaunching();
  
  void RequestLogin(LoginHandler* login_handler,
                    std::unique_ptr<base::DictionaryValue> request_details);
  void AddObserver(BrowserObserver* obs) {