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
asar::ClearArchives();
  
  
  
  
  
  
  
  
  ignore_result(js_env_.release());
}
AtomBrowserMainParts* AtomBrowserMainParts::Get() {
  DCHECK(self_);
  return self_;
}
bool AtomBrowserMainParts::SetExitCode(int code) {
  if (!exit_code_)
    return false;
  *exit_code_ = code;
  return true;
}
int AtomBrowserMainParts::GetExitCode() {