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