Change build setting outside editor

I changed my build settings to WebGL, it crashed the editor and now crashes when trying to load the editor. WebGL isn’t a big concern but I need to get my project back. Can I somehow set the build back to PC outside the editor?

The only real lead I’ve found is this

I think this might work:

In the root of your project (next to the Assets folder) there’s a folder called ProjectSettings. I believe the build setting you’re looking to get rid of are in the file called EditorBuildSettings.asset.

What you can do is rename it (I called my “MEHditorBuildSettings.asset”), start up Unity, open the project again and Unity will create a new EditorBuildSettings.asset file for you (just tested it in a small test project) … with default settings that hopefully won’t make you crash.

Alternatively you could open the .asset file in a hex editor of sorts and edit it by hand, but I think the renaming will be a lot easier.