fix(firefox): ajoute background.scripts fallback (compat MV3 Firefox/AMO)

Mozilla AMO rejetait le .xpi avec :
  Unsupported "/background/service_worker" manifest property used without
  "/background/scripts" property as Firefox-compatible fallback.

build.sh ajoute maintenant 'scripts: [background.js]' à background.* dans
le manifest Firefox uniquement (Chrome ignore 'scripts' quand
'service_worker' est présent ; Firefox ignore 'service_worker' et utilise
'scripts'). Les deux navigateurs chargent le même background.js.

Sha256 du .xpi v2026.5.41 mis à jour dans firefox-updates.json.
This commit is contained in:
Quentin Rouiller
2026-04-27 03:02:38 +02:00
parent 67708d1ad3
commit 0327a55c74
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
{
"version": "2026.5.41",
"update_link": "https://gitea.netaplaid.ch/FroSteel/Planification/releases/download/v2026.5.41/planification-v2026.5.41-firefox.xpi",
"update_hash": "sha256:ad7cd79ed50256e246d93c9fa87fda9db071fc19db14c363f90c3b3b446d3143"
"update_hash": "sha256:3cf688b6d38969100753f8911206b2a42589f7e6948ba75cae1d15fda4332411"
},
{
"version": "2026.5.40",