#include "atom/common/node_includes.h"
+#if defined(OS_WIN)
+#include <shlobj.h>
+#endif
+
namespace atom {
namespace {
blink::WebCustomElement::addEmbedderCustomElementName("webview");
blink::WebCustomElement::addEmbedderCustomElementName("browserplugin");
+#if defined(OS_WIN)
+ base::CommandLine* command_line = base::CommandLine::ForCurrentProcess();
+ base::string16 explicit_app_id = command_line->GetSwitchValueNative(switches::kAppUserModelId);
+
+ if (explicit_app_id.length() > 0) {
+ SetCurrentProcessExplicitAppUserModelID(explicit_app_id.c_str());
+ }
+#endif
+
node_bindings_->Initialize();
node_bindings_->PrepareMessageLoop();