- Electron version: N/A
- Operating system: Mac or Windows

I don't know how I've only discovered these methods now 😄 but anyway...

Would an app get rejected by the MAS if it used [`app.setLoginItemSettings`](http://electron.atom.io/docs/api/app/#appsetloginitemsettingssettings-macos-windows) for example? The [Mac App Store submission guide](http://electron.atom.io/docs/tutorial/mac-app-store-submission-guide/#limitations-of-mas-build) doesn't list it as a limitation but I would assume that it isn't MAS-friendly. Although, it would be _great_ if it was compatible. I guess it depends on how it's implemented underneath (i.e. whether it reaches out of the sandbox or not, etc.)

cc @kevinsawicki

---

Related: https://github.com/Teamwork/node-auto-launch/issues/43

atom/common/platform_util.h

#ifndef ATOM_COMMON_PLATFORM_UTIL_H_
#define ATOM_COMMON_PLATFORM_UTIL_H_
#include <string>
#include "base/callback_forward.h"
#include "build/build_config.h"
#if defined(OS_WIN)
#include "base/strings/string16.h"
#endif
class GURL;
namespace base {
class FilePath;
}
namespace platform_util {
typedef base::Callback<void(const std::string&)> OpenExternalCallback;
bool ShowItemInFolder(const base::FilePath& full_path);
bool OpenItem(const base::FilePath& full_path);
bool OpenExternal(
#if defined(OS_WIN)
    const base::string16& url,
#else
    const GURL& url,
#endif
    bool activate);
void OpenExternal(
#if defined(OS_WIN)
    const base::string16& url,
#else
    const GURL& url,
#endif
    bool activate,
    const OpenExternalCallback& callback);
bool MoveItemToTrash(const base::FilePath& full_path);
void Beep();
}  
#endif  
