### Preflight Checklist

- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.

### Electron Version

16.0.0-beta.4

### What operating system are you using?

Ubuntu

### Operating System Version

20.04

### What arch are you using?

x64

### Last Known Working Electron version

15.3.0

### Expected Behavior

On Linux, `app.getPath('crashDumps')` should return something like:
```
~/.config/{{appName}}/Crash Reports/
```



### Actual Behavior

However, with v16 beta it returns:
```
~/.config/Electron/Crash Reports/
```

### Testcase Gist URL

_No response_

shell/browser/electron_browser_client.cc
RegisterNonNetworkWorkerMainResourceURLLoaderFactories(
        content::BrowserContext* browser_context,
        NonNetworkURLLoaderFactoryMap* factories) {
  auto* protocol_registry =
      ProtocolRegistry::FromBrowserContext(browser_context);
  
  
  protocol_registry->RegisterURLLoaderFactories(factories,
                                                false );
}
#if BUILDFLAG(ENABLE_ELECTRON_EXTENSIONS)
namespace {
class FileURLLoaderFactory : public network::SelfDeletingURLLoaderFactory {