Skip to content

Commit

Permalink
update: devtools to v1.06.2412040
Browse files Browse the repository at this point in the history
  • Loading branch information
msojocs committed Jan 16, 2025
1 parent fbe81e3 commit 23b2b57
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -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: 多开实例会出现卡死的情况
Expand Down
2 changes: 1 addition & 1 deletion conf/devtools_v
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.06.2409140,e953b10499fec8dac213092b0d809841
1.06.2412040,cc61b0fa1e6ecfac672c793cc2f6dc48
6 changes: 5 additions & 1 deletion tools/wxvpkg_pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 23b2b57

Please sign in to comment.