fix udpate timer

This commit is contained in:
kirillius 2024-12-29 02:25:38 +03:00
parent d6ed63e395
commit 943f6b6d19
1 changed files with 2 additions and 2 deletions

View File

@ -13,9 +13,9 @@ import {JSONRPC} from "/assets/jrpc.js";
$("#panel").hide(); $("#panel").hide();
$("#loading").show().text("Installing updates..."); $("#loading").show().text("Installing updates...");
try { try {
console.log(await JSONRPC.__invoke("updates::install")); alert(await JSONRPC.__invoke("updates::install"));
} finally { } finally {
setTimeout(() => location.reload(), 10000); setTimeout(() => location.reload(), 1000);
} }
}); });
} }