fix flashrom for real

This commit is contained in:
zefie
2025-08-13 15:42:57 -04:00
parent 92f4e723bc
commit b8a23f8534

View File

@@ -41,6 +41,11 @@ async function processLC2DownloadPage(flashrom_info, headers, numparts = null) {
flashrom_info.message = "BootRom Part " + (flashrom_info.part_number + 1) + " of " + flashrom_info.part_count;
}
if (!flashrom_info.is_last_part) {
flashrom_info.next_rompath = service_name + ":/get-lc2-page?path=" + encodeURIComponent(flashrom_info.next_rompath.replace(service_name + ":/", ""));
}
console.log(flashrom_info.next_rompath);
const romtype = ssid_sessions[socket.ssid].get("wtv-client-rom-type");
let defaultDownloadTime;
switch (romtype) {