Skip to content

Commit 23b2b57

Browse files
committed
update: devtools to v1.06.2412040
1 parent fbe81e3 commit 23b2b57

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

CHANGELOG.MD

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.06.2412040-1 / 2025-01-16
2+
3+
- update: devtools to v1.06.2412040
4+
15
# 1.06.2409140-3 / 2024-11-16
26

37
- fix: 多开实例会出现卡死的情况

conf/devtools_v

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.06.2409140,e953b10499fec8dac213092b0d809841
1+
1.06.2412040,cc61b0fa1e6ecfac672c793cc2f6dc48

tools/wxvpkg_pack.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ function writeInt32(number, start) {
2828
writeSync(buf, start)
2929
}
3030

31-
let files = fs.readdirSync(dest)
31+
// 加入子文件夹的文件
32+
const files = fs.readdirSync(dest, { recursive: true }).filter(e => fs.statSync(path.join(dest, e)).isFile())
33+
// console.log(JSON.stringify(files, null, 4))
34+
3235
// 文件数
3336
let totalCount = files.length
3437

@@ -57,6 +60,7 @@ for (let file of files) {
5760
writeInt32(dataOffset, start)
5861
start += 4
5962
// write length
63+
// console.info('dest:', dest, 'file:', file)
6064
let contentBuf = fs.readFileSync(path.join(dest, file))
6165
writeInt32(contentBuf.length, start)
6266
start += 4

0 commit comments

Comments
 (0)