7 releases

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

#1404 in Development tools


Used in cargo-maj

MIT license

110KB
2K 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

~33–47MB
~1M SLoC