#updater

app cargo-maj

The libmaj CLI companion. Manage packages, keys and versions.

6 releases

0.1.6 Sep 27, 2019
0.1.5 Nov 9, 2018
0.1.3 Sep 26, 2017
0.1.2 Jul 27, 2017

#1369 in Development tools

MIT license

130KB
2.5K SLoC

maj

Beta: not production ready. Tested on Ubuntu-linux only for now, but designed as a cross-platform library.

maj CLI

Utility to create application packages, manage signature keys, version management and more.

libmaj - The installer and updater library.

libmaj is a library to write application installers and (auto-)updaters. It provides utilities to pack/install/uninstall an application, verify its integrity and authenticity, and fetch application packages over the internet.

Disclaimer: an auto-updater is basically a backdoor you install on your users' computers. Please do it securely and responsibly. Report ASAP any vulnerability you can find in this library by opening an issue.

It is nearly always better to use the platform specific application distribution mechanism (e.g. .deb/PPA for Debian/Ubuntu), for a better user experience and to limit the security issues.

But hey, don't run just yet. They are use-cases where this lib is useful ... I think.

Tutorials

Pack instruction files

Dependencies

~34–48MB
~1M SLoC