yujinakayama / atom-auto-update-packages

Keep your Atom packages up to date.
https://atom.io/packages/auto-update-packages
MIT License
33 stars 11 forks source link

Doesn't take into account ATOM_HOME #35

Open danielbayley opened 8 years ago

danielbayley commented 8 years ago

The offending line in lib/auto-update-packages.coffee;

dotAtomPath = getFs().absolute('~/.atom')

This shouldn't be hardcoded. It should take into account process.env.ATOM_HOME. Mine (being on OS X…) is set to ~/Library/Application Support/Atom for example.