mirror of
https://github.com/elseif/MikroTikPatch
synced 2026-07-17 18:49:41 +00:00
Update index.html
Signed-off-by: elseif <elseif@live.cn>
This commit is contained in:
parent
86e2727c56
commit
b436141665
@ -474,7 +474,11 @@
|
|||||||
const url = `${baseUrl(v.version, g.arch)}${file}`;
|
const url = `${baseUrl(v.version, g.arch)}${file}`;
|
||||||
let label = "Download";
|
let label = "Download";
|
||||||
if (download.title === "Cloud Hosted Router" && file.includes('chr')) {
|
if (download.title === "Cloud Hosted Router" && file.includes('chr')) {
|
||||||
label = file.includes("legacy-bios") ? "Legacy" : "UEFI";
|
if (v.version.charAt(0) === "6" ){
|
||||||
|
label = "Legacy";
|
||||||
|
} else {
|
||||||
|
label = file.includes("legacy-bios") ? "Legacy" : "UEFI";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return `<a href="${url}" class="inline-flex items-center gap-1.5 text-blue-500 dark:text-blue-400 hover:underline" title="${file}" target="_blank"><span class="iconify" data-icon="${ICONS.download}"></span> ${label}</a>`;
|
return `<a href="${url}" class="inline-flex items-center gap-1.5 text-blue-500 dark:text-blue-400 hover:underline" title="${file}" target="_blank"><span class="iconify" data-icon="${ICONS.download}"></span> ${label}</a>`;
|
||||||
}).join("<br>");
|
}).join("<br>");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user