Hi, getPath("logs") return the wrong path.
getPath("logs") return : %APPDATA% + ProductName from the executable of Electron
when it should return : "userData" (when edited) + productName from package.json

The consequence is that Electron creates an empty folder "logs" in the wrong place.

It seems to me that the problem has occurred since this fix : #10911

* Electron version: 1.8.2 (since 1.8.2-beta.2)
* Operating system: Windows 7 64 bit
atom/browser/atom_browser_main_parts.cc
#if defined(USE_X11)
  
  
  
  ui::SetX11ErrorHandlers(X11EmptyErrorHandler, X11EmptyIOErrorHandler);
#endif
  js_env_->OnMessageLoopDestroying();
#if defined(OS_MACOSX)
  FreeAppDelegate();
#endif
  
  
  
  
  
  for (auto iter = destructors_.begin(); iter != destructors_.end();) {
    base::OnceClosure callback = std::move(*iter);
    if (!callback.is_null())
      std::move(callback).Run();
    ++iter;
  }
  fake_browser_process_->PostMainMessageLoopRun();
}
#if !defined(OS_MACOSX)
void AtomBrowserMainParts::PreMainMessageLoopStart() {