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.h
class JavascriptEnvironment;
class NodeBindings;
class NodeDebugger;
class NodeEnvironment;
class BridgeTaskRunner;
#if defined(TOOLKIT_VIEWS)
class ViewsDelegate;
#endif
#if defined(OS_MACOSX)
class ViewsDelegateMac;
#endif
class AtomBrowserMainParts : public content::BrowserMainParts {
 public:
  explicit AtomBrowserMainParts(const content::MainFunctionParams& params);
  ~AtomBrowserMainParts() override;
  static AtomBrowserMainParts* Get();
  
  bool SetExitCode(int code);
  
  int GetExitCode();
  
  
  
  void RegisterDestructionCallback(base::OnceClosure callback);
  
  
  device::mojom::GeolocationControl* GetGeolocationControl();
  
  IconManager* GetIconManager();
  Browser* browser() { return browser_.get(); }