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/api/atom_api_app.h
bool IsInApplicationsFolder();
  v8::Local<v8::Value> GetDockAPI(v8::Isolate* isolate);
  v8::Global<v8::Value> dock_;
#endif
#if defined(MAS_BUILD)
  base::Callback<void()> StartAccessingSecurityScopedResource(
      mate::Arguments* args);
#endif
#if defined(OS_WIN)
  
  v8::Local<v8::Value> GetJumpListSettings();
  
  JumpListResult SetJumpList(v8::Local<v8::Value> val, mate::Arguments* args);
#endif  
  std::unique_ptr<ProcessSingleton> process_singleton_;
#if defined(USE_NSS_CERTS)
  std::unique_ptr<CertificateManagerModel> certificate_manager_model_;
#endif
  
  base::CancelableTaskTracker cancelable_task_tracker_;
  base::FilePath app_path_;
  using ProcessMetricMap =
      std::unordered_map<base::ProcessId, std::unique_ptr<atom::ProcessMetric>>;
  ProcessMetricMap app_metrics_;
  DISALLOW_COPY_AND_ASSIGN(App);
};
}  
}  
#endif