#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

#1089 in HTTP server

Download history 202/week @ 2024-07-14 24/week @ 2024-09-15 10/week @ 2024-09-22 24/week @ 2024-09-29 1/week @ 2024-10-06

59 downloads per month

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

~23–35MB
~626K SLoC