Hey guys. We are keeping our logs in a different path (not using the electron's one) and we are wondering if there is some flag to disable creation of this folder.

Thanks in advance :)
atom/browser/api/atom_api_app.cc
if (HasSingleInstanceLock())
    return true;
  base::FilePath user_dir;
  base::PathService::Get(DIR_USER_DATA, &user_dir);
  auto cb = base::Bind(&App::OnSecondInstance, base::Unretained(this));
  process_singleton_.reset(new ProcessSingleton(
      user_dir, base::Bind(NotificationCallbackWrapper, cb)));
  switch (process_singleton_->NotifyOtherProcessOrCreate()) {
    case ProcessSingleton::NotifyResult::LOCK_ERROR:
    case ProcessSingleton::NotifyResult::PROFILE_IN_USE:
    case ProcessSingleton::NotifyResult::PROCESS_NOTIFIED: {
      process_singleton_.reset();
      return false;
    }
    case ProcessSingleton::NotifyResult::PROCESS_NONE:
    default:  
      return true;
  }
}
void App::ReleaseSingleInstanceLock() {
  if (process_singleton_) {
    process_singleton_->Cleanup();
    process_singleton_.reset();
  }
}
bool App::Relaunch(mate::Arguments* js_args) {