Skip to content
This repository has been archived by the owner on Dec 31, 2018. It is now read-only.

steelbrain/package-upgrader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atom-Package-Upgrader

Atom-Package-Upgrader is an npm module for you to use in your atom packages. It makes sure that the user always has the latest and greatest version of your package installed. It will query the repos for any upgrades, if available, will install them for the user and show a nice notification along the way.

Note: You should always have a config in your package that lets users disable auto-updates.

Example

if (atom.config.get('my-package.autoUpdate')) {
  const subscription = require('atom-package-upgrader').upgrade()
  // On deactivate:
  subscription.dispose()
}

API

function upgrade(name = null): Disposable

If no name is provided to upgrade, it tries to guess based on __dirname.

LICENSE

This project is licensed under the terms of MIT license, See the license file or contact me for more info.

About

Auto-Updater for atom packages

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published