Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 23b2b57

Browse files
committedJan 16, 2025
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
 

Diff for: ‎CHANGELOG.MD

+4
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: 多开实例会出现卡死的情况

Diff for: ‎conf/devtools_v

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.06.2409140,e953b10499fec8dac213092b0d809841
1+
1.06.2412040,cc61b0fa1e6ecfac672c793cc2f6dc48

Diff for: ‎tools/wxvpkg_pack.js

+5-1
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)
Please sign in to comment.