imengyu недель назад: 3
Родитель
Сommit
c3181f6b07
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/scripts/UpdateScript/postUpdate.mjs

+ 2 - 2
src/scripts/UpdateScript/postUpdate.mjs

@@ -335,9 +335,9 @@ export async function postWebUpdate(axiosInstance, param) {
           continue;
         const filestat = await stat(path + subPath);
         if (filestat.isDirectory()) {
-          await loopDir(distDir + subPath, subPath);
+          await loopDir(path + subPath, subPath);
         } else {
-          archive.file(distDir + subPath, { name: file });
+          archive.file(path + subPath, { name: file });
         }
       }
     }