From 0d832cc97e9d777575450bcb920e129687ce1913 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 5 Apr 2023 14:51:00 +0800 Subject: [PATCH] :bug: Initialization interface hangs on the macOS Fix https://github.com/siyuan-note/siyuan/issues/7887 --- app/electron/init.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/electron/init.html b/app/electron/init.html index 70a07683b..e8a02a70a 100644 --- a/app/electron/init.html +++ b/app/electron/init.html @@ -416,7 +416,7 @@ } const walk = (dir, files = []) => { - var dirFiles; + let dirFiles; const fs = require('fs') try { if (!fs.existsSync(dir)) {