web: the desktop version lives in two files, and only one was bumped
src/app.jsx carries its own SB_DESKTOP_VERSION for the compact download table; src/components/ui/DownloadApps.jsx carries DESKTOP_VERSION for the grid. Bumping one leaves the other pointing at a tag whose filenames no longer exist — the failure tests/desktop-download-links.test.mjs was written for, and which it caught here. The i18n scan also learns that these dictionaries feed two clients. The desktop client is a separate repository, so its keys can never appear in a scan of this src/ and were being reported as dead strings to delete.
This commit is contained in:
@@ -11,7 +11,7 @@ let DYNAMIC_CACHE = 'securebit-pwa-dynamic-v4.7.56';
|
||||
// Build stamp — rewritten by scripts/post-build.js on every release so this file's
|
||||
// bytes change each deploy. That is what makes the browser detect a new Service Worker,
|
||||
// reinstall it, drop stale caches and (via controllerchange) prompt the page to update.
|
||||
const SW_BUILD_VERSION = '1788239352576';
|
||||
const SW_BUILD_VERSION = '1788320423892';
|
||||
|
||||
// Locale subdirectories, rewritten by scripts/build-i18n.js. Each localized page is a
|
||||
// separate document at its own URL, so the shell has to be cached and served per
|
||||
|
||||
Reference in New Issue
Block a user