adobe/brackets-shell — pull request #106 by gruehle (2012-09-07 21:29:12+00:00)
Title: Fix index.hmtl lookup

Fixes a bug from commit 5df27ce91

When looking for the index.html file, we start with the module pathname (the full path of the .exe file), strip off "\Brackets.exe" and append a relative string like "\\dev\\src\\index.html". If we don't find the file in the first location (`.\dev\src\index.html`), we were *not* resetting the app pathname, so the second lookup was looking in `.\dev\src\www\index.html` instead of `.\www\index.html`.