Andrew Dupont dfb2493e43 Add some more stray `.eslintrc` files | 9 月之前 | |
---|---|---|
.. | ||
spec | 9 月之前 | |
src | 1 年之前 | |
.gitignore | 1 年之前 | |
README.md | 1 年之前 | |
package-lock.json | 1 年之前 | |
package.json | 1 年之前 |
Update utility for Pulsar. On launch of Pulsar, pulsar-updater
will check for any new releases available via GitHub APIs. And if one is available will display a notification for the user to be able to install the new version.
If the user seems to have installed Pulsar manually, a link will be opened directly to the resource on GitHub, allowing the user to then download the correct file as needed, and install it. Otherwise if it seems the user has installed Pulsar via various recognized package managers, then Pulsar Updater will present a notification that an update is available, and provide the commands needed to preform the update themselves if they so wish.
This package is made to be minimally invasive, while still allowing users to be aware of new Pulsar versions without any manual effort.
Additionally, since the entire process of actually installation is done by the user, there is no need for complex Squirrel logic, or expensive certifications to allow Squirrel to work.
If a user would prefer to manually check for any updates available then the following commands are exposed from Pulsar Updater to do so:
pulsar-updater:check-for-update
: Performs an update check and shows a notification if a newer version of Pulsar is available.pulsar-updater:clear-cache
: Clears the package's cache and forgets any requests to suppress update checking.If an update is available, the notification that is shown is intended to be as non-invasive as possible, providing a few possible options:
Since a major part of the functionality of this package is attempting to determine the installation method, it's important to list them all here:
It's important to remember that this update system is in no way integrated with the rest of Pulsar. The toggles within Pulsar to update automatically are ignored. The About view will still be unable to alert of new versions, nor track progress on installation. Those systems should eventually be removed, or mothballed, in favour of this.