Add manifest-based addon manager

This commit is contained in:
2026-07-08 14:36:41 +02:00
parent ec4ac6ef8e
commit caffdaa38c
11 changed files with 862 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
// - Other static assets (images/fonts/libs): cache-first with bg refresh.
// - API / non-GET: never cached.
// Bump CACHE_NAME whenever the precache list or SW logic changes.
const CACHE_NAME = 'odysseus-v344';
const CACHE_NAME = 'odysseus-v345';
// Core shell precached on install so repeat opens are instant without any
// network wait. Keep this list in sync with the <script type="module"> tags
@@ -44,6 +44,7 @@ const PRECACHE = [
'/static/js/theme.js',
'/static/js/censor.js',
'/static/js/settings.js',
'/static/js/addons.js',
'/static/js/admin.js',
'/static/js/init.js',
'/static/js/slashCommands.js',