<!--  As an open source project with a dedicated but small maintainer team, it can sometimes take a long time for issues to be addressed so please be patient and we will get back to you as soon as we can.
-->

### Preflight Checklist
<!-- Please ensure you've completed the following steps by replacing [ ] with [x]-->

* [x] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/master/CONTRIBUTING.md) for this project.
* [x] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md) that this project adheres to.
* [x] I have searched the issue tracker for an issue that matches the one I want to file, without success.

### Issue Details

* **Electron Version:**
  * 6.0.0-beta.5, 5.0.2
* **Operating System:**
  * Linux - Ubuntu 18.04 x64
* **Last Known Working Electron version:**
  * 4.2.3

### Expected Behavior
<!-- A clear and concise description of what you expected to happen. -->
Electron should warn root users that `Running as root without --no-sandbox is not supported.`, even if ELECTRON_ENABLE_LOGGING is not set

### Actual Behavior
<!-- A clear and concise description of what actually happened. -->
Running Electron as root fails silently, unless the user sets the environment variable `ELECTRON_ENABLE_LOGGING=true`.  When `ELECTRON_ENABLE_LOGGING=true`, the console displays the message: 
```sh
Running as root without --no-sandbox is not supported.
```
This behaviour is really confusing as causes people to think Electron doesn't work on their platform (eg see #18350) We should provide more context here.

### To Reproduce
As root run:
```sh
$ git clone https://github.com/electron/electron-quick-start.git
$ npm install
$ npm start 
```
No output.

Again as root run: 
```sh
$ export ELECTRON_ENABLE_LOGGING=true
$ npm start
```
Warning message appears

### Screenshots
<!-- If applicable, add screenshots to help explain your problem. -->

### Additional Information
<!-- Add any other context about the problem here. -->

shell/app/atom_main_delegate.cc
const bool initialized = ui::ResourceBundle::HasSharedInstance();
  if (initialized)
    ui::ResourceBundle::CleanupSharedInstance();
  
  base::FilePath pak_dir;
#if defined(OS_MACOSX)
  pak_dir =
      base::mac::FrameworkBundlePath().Append(FILE_PATH_LITERAL("Resources"));
#else
  base::PathService::Get(base::DIR_MODULE, &pak_dir);
#endif
  ui::ResourceBundle::InitSharedInstanceWithLocale(
      locale, nullptr, ui::ResourceBundle::LOAD_COMMON_RESOURCES);
  ui::ResourceBundle& bundle = ui::ResourceBundle::GetSharedInstance();
  bundle.ReloadLocaleResources(locale);
  bundle.AddDataPackFromPath(pak_dir.Append(FILE_PATH_LITERAL("resources.pak")),
                             ui::SCALE_FACTOR_NONE);
#if BUILDFLAG(ENABLE_PDF_VIEWER)
  NOTIMPLEMENTED()
      << "Hi, whoever's fixing PDF support! Thanks! The pdf "
         "viewer resources haven't been ported over to the GN build yet, so "
         "you'll probably need to change this bit of code.";
  bundle.AddDataPackFromPath(
      pak_dir.Append(FILE_PATH_LITERAL("pdf_viewer_resources.pak")),
      ui::GetSupportedScaleFactors()[0]);
#endif  
}
AtomMainDelegate::AtomMainDelegate() {}
AtomMainDelegate::~AtomMainDelegate() {}