From 943f6b6d19c828d901d893427fbf3cd5f999393e Mon Sep 17 00:00:00 2001 From: kirillius Date: Sun, 29 Dec 2024 02:25:38 +0300 Subject: [PATCH] fix udpate timer --- plugins/updates/plugin.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } }); }