diff --git a/web/index_pkg.html b/web/index_pkg.html
index 2090790c..97026eb4 100644
--- a/web/index_pkg.html
+++ b/web/index_pkg.html
@@ -34,6 +34,8 @@
.diag pre { max-height: 220px; overflow: auto; margin: 8px 0; }
.diag button { font-size: 13px; padding: 4px 12px; margin: 0 6px 6px 0; }
a { color: inherit; }
+ #download-fw { display: inline-block; padding: 12px 16px; border: 1px solid currentColor; border-radius: 6px; text-decoration: none; }
+ #download-fw:hover { color: var(--accent, #ff8a00); }
@@ -62,6 +64,8 @@
@@ -531,6 +535,9 @@ for (const L of ["en", "es", "ja"])
for (const k of ["tip_stockModified", "tip_stockCustom", "tip_stockOtherVer", "tip_stockNotV15", "tip_stockZip", "tip_stockError"])
TEXT[L][k] = TEXT[L].tip_stock;
for (const L of ["en", "es", "ja"]) TEXT[L].stockV16 = ""; /* (stockWhere names V16 itself now) */
+Object.assign(TEXT.es, { downloadFw: "Descargar firmware (.fwsc)", downloadFwHelp: "Descarga la versión seleccionada sin conectar el FM-1." });
+Object.assign(TEXT.en, { downloadFw: "Download firmware (.fwsc)", downloadFwHelp: "Download the selected version without connecting the FM-1." });
+Object.assign(TEXT.ja, { downloadFw: "ファームウェアをダウンロード (.fwsc)", downloadFwHelp: "FM-1 を接続せずに、選択したバージョンをダウンロードできます。" });
const LANGS = ["es", "en", "ja"];
const navLang = (navigator.language || "en").toLowerCase();
let lang = navLang.startsWith("ja") ? "ja" : navLang.startsWith("es") ? "es" : "en";
@@ -616,6 +623,8 @@ function fillVersions() {
}
function showEdition() {
const v = versions[+$("ver").value] || versions[0];
+ $("download-fw").href = v.pkg;
+ $("download-fw").download = v.pkg.split("/").pop();
$("edition-info").textContent = t((v.edition || "").startsWith("SAMPLE") ? "editionSample" : (v.edition || "").startsWith("ADDITIVE") ? "editionAdd" : "editionStandard");
}
async function loadVersion(i) {