This requires the `appName` var which hasn't been set yet. Something like this needs to be added above:

```coffee
appName = if process.platform is 'darwin' then 'Atom.app' else 'Atom'
```