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
protected:
  
  int PreEarlyInitialization() override;
  void PostEarlyInitialization() override;
  int PreCreateThreads() override;
  void ToolkitInitialized() override;
  void PreMainMessageLoopRun() override;
  bool MainMessageLoopRun(int* result_code) override;
  void PreDefaultMainMessageLoopRun(base::OnceClosure quit_closure) override;
  void PostMainMessageLoopStart() override;
  void PostMainMessageLoopRun() override;
  void PreMainMessageLoopStart() override;
  void PostDestroyThreads() override;
 private:
  void InitializeFeatureList();
  void OverrideAppLogsPath();
  void PreMainMessageLoopStartCommon();
#if defined(OS_POSIX)
  
  void HandleSIGCHLD();
  void HandleShutdownSignals();
#endif
#if defined(OS_MACOSX)
  void FreeAppDelegate();
  void InitializeMainNib();
#endif
#if defined(OS_MACOSX)
  std::unique_ptr<ViewsDelegateMac> views_delegate_;