From d00828c62fdaa0f935a16699137a89f514bcaac6 Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Fri, 25 Sep 2026 11:00:59 -0700 Subject: [PATCH] Version the SvelteKit build by commit instead of build time so F-Droid can reproduce it --- svelte.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/svelte.config.js b/svelte.config.js index e658e1ee..d098cc31 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -19,6 +19,10 @@ export default { serviceWorker: { register: process.env.FLOTILLA_DESKTOP !== "1", }, + // The default is the build time, which changes every chunk hash and breaks F-Droid's reproducible build + version: { + name: process.env.VITE_BUILD_HASH, + }, adapter: adapter({ fallback: "index.html", }),