Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Clear status bar icon if current version is newer than cached update #75
Description of the Change
Previously, if an update was found, that version would be stored in local storage and the squirrel icon would be displayed until the current Atom version matched the version in local storage. Of course, this does not work if the version that Atom is updated to is newer than the one that LocalStorage knows about. This can happen, for example, when switching from stable to beta. In that case, About would still insist that there was an update available.
To solve this issue, I have included the
New tests have been verified to fail when old behavior is maintained.
Manual string comparisons could be done without bringing in the
People who install new versions before the updater realizes they're available will not have a Squirrel icon stuck in their status bar.
Slightly longer startup time.