adobe/brackets-app — pull request #129 by gruehle (2012-06-20 15:23:16+00:00)
Title: Add error page if brackets index.html can't be found

Fixes issue adobe/brackets#890

If the brackets index.html file can't be found at app startup, show a helpful error page with tips on troubleshooting.

This error page is baked into the application. On the mac, it is in the Resources folder in the app bundle, so it can be loaded with a file: url. On windows, the html contents are in a binary resource, so we use a special "brackets/load_error" URL that is redirected in the ClientHandler::OnBeforeResourceLoad() to display the contents of the error page.

To test, you can either move Brackets.app/Brackets.exe from the bin directory or rename the brackets folder.