From a2bc3f8204cfaaaed017a1b9ec23f25c6784a936 Mon Sep 17 00:00:00 2001 From: song_xiao_lin Date: Wed, 5 Jun 2024 11:13:30 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=87=8D=E8=AF=95=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E5=8D=8A=E7=A7=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/main/handlers/upgradeUtil.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main/handlers/upgradeUtil.js b/app/main/handlers/upgradeUtil.js index 6c88704ac4..2628ffcb6a 100644 --- a/app/main/handlers/upgradeUtil.js +++ b/app/main/handlers/upgradeUtil.js @@ -503,7 +503,7 @@ module.exports = { } catch (err) { if (err.message.indexOf("operation not permitted") > -1) { if (retriesLeft > 0) { - setTimeout(() => tryUnlink(retriesLeft - 1), 1000); + setTimeout(() => tryUnlink(retriesLeft - 1), 500); } else { reject("operation not permitted") }