瀏覽代碼

:bug: Initialization interface hangs on the macOS Fix https://github.com/siyuan-note/siyuan/issues/7887

Liang Ding 2 年之前
父節點
當前提交
0d832cc97e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/electron/init.html

+ 1 - 1
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)) {