Generate update manifests for addons

This commit is contained in:
trickypr 2022-07-12 16:29:27 +10:00
parent d848fd1848
commit 5f2b57c826
9 changed files with 90 additions and 27 deletions

View file

@ -140,10 +140,17 @@ export const commands: Cmd[] = [
requestController: async () => (await import('./commands/status')).status,
},
{
cmd: 'updates browser',
cmd: 'updates-browser',
description:
'Generate update manifest for the browser binary. This should be run after packaging',
requestController: async () =>
(await import('./commands/updates/browser')).generateBrowserUpdateFiles,
},
{
cmd: 'updates-addons',
description:
'Generates update manifests for system addons that are included in the browser',
requestController: async () =>
(await import('./commands/updates/addons')).generateAddonUpdateFiles,
},
]