#web-server #update #file-server #applications #mozilla #serve #mar

app serve-mar

Serves a mar update file for Mozilla based applications

2 releases

0.1.1 Jul 16, 2024
0.1.0 Jul 16, 2024

#1132 in HTTP server

MPL-2.0 license

22KB
211 lines

serve-mar

This takes some of the pain out of testing automatic updates for Mozilla applications.

You still need to create an update mar file using the instructions provided and be running a build built to support unsigned updates. But once you have that you can run an update server with:

~$ cargo install serve-mar
~$ serve-mar update.mar

This will start a basic webserver on port 8000 that serves updates from /update.xml.

Dependencies

~24–36MB
~623K SLoC