[Bug]: sandboxed electron app fails when running as admin
- Dominant language
- C++
- Stars
- 123k
- Forks
- 17.5k
- Avg merge
- 14h 22m
- Merged PRs (30d)
- 873
Description
### 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 bug report that matches the one I want to file, without success.
### Electron Version
29
### What operating system are you using?
Windows
### Operating System Version
Windows 10
### What arch are you using?
x64
### Last Known Working Electron version
_No response_
### Expected Behavior
I expect that I can `sudo` run or Run as Admin an Electron app
### Actual Behavior
Fails to run. I recall getting a (-2) ERR_FAILED when navigating to a URL. Now not clear, but the page doesn't load.
### Testcase Gist URL
https://gist.github.com/pushkin-/a1b408c363639da81aa78ffbe4e76045
### Additional Information
[related issue](https://github.com/electron/electron/issues/31123) - was asked to create another issue for it
package up the fiddle and run as admin. Nothing will display in the window.
Contributor guide
Assessment
This issue has not been assessed yet.