msanders/Chuck — pull request #15 by jdavis (2012-11-07 00:59:28+00:00)
Title: Some apps aren't found by NSWorkspace.

For example, I have the Last.fm app installed into my ~/Applications directory, but whenever I try to launch it with Chuck, it won't show the app.

The issue is that NSWorkspace's fullPathForApplication method isn't able to find the path for it when it is named "Last.fm", yet when it is named "Last.fm.app" it has no issues.

These commits fix that by only trimming off the ".app" when necessary.