diff --git a/CHANGELOG.MD b/CHANGELOG.MD index e8ae146..5303a1e 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -1,3 +1,7 @@ +# 1.06.2412040-1 / 2025-01-16 + +- update: devtools to v1.06.2412040 + # 1.06.2409140-3 / 2024-11-16 - fix: 多开实例会出现卡死的情况 diff --git a/conf/devtools_v b/conf/devtools_v index b083e8b..6dffeae 100644 --- a/conf/devtools_v +++ b/conf/devtools_v @@ -1 +1 @@ -1.06.2409140,e953b10499fec8dac213092b0d809841 \ No newline at end of file +1.06.2412040,cc61b0fa1e6ecfac672c793cc2f6dc48 \ No newline at end of file diff --git a/tools/wxvpkg_pack.js b/tools/wxvpkg_pack.js index f256dca..00d4377 100755 --- a/tools/wxvpkg_pack.js +++ b/tools/wxvpkg_pack.js @@ -28,7 +28,10 @@ function writeInt32(number, start) { writeSync(buf, start) } -let files = fs.readdirSync(dest) +// 加入子文件夹的文件 +const files = fs.readdirSync(dest, { recursive: true }).filter(e => fs.statSync(path.join(dest, e)).isFile()) +// console.log(JSON.stringify(files, null, 4)) + // 文件数 let totalCount = files.length @@ -57,6 +60,7 @@ for (let file of files) { writeInt32(dataOffset, start) start += 4 // write length + // console.info('dest:', dest, 'file:', file) let contentBuf = fs.readFileSync(path.join(dest, file)) writeInt32(contentBuf.length, start) start += 4