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
return exit_code_ != nullptr ? *exit_code_ : 0;
}
void AtomBrowserMainParts::RegisterDestructionCallback(
    base::OnceClosure callback) {
  
  
  
  destructors_.insert(destructors_.begin(), std::move(callback));
}
int AtomBrowserMainParts::PreEarlyInitialization() {
  InitializeFeatureList();
  field_trial_list_ = std::make_unique<base::FieldTrialList>(nullptr);
  OverrideAppLogsPath();
#if defined(USE_X11)
  views::LinuxUI::SetInstance(BuildGtkUi());
  OverrideLinuxAppDataPath();
  
  
  
  ui::SetX11ErrorHandlers(nullptr, nullptr);
#endif
#if defined(OS_POSIX)
  HandleSIGCHLD();
#endif
  return service_manager::RESULT_CODE_NORMAL_EXIT;
}
void AtomBrowserMainParts::PostEarlyInitialization() {