mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-07 00:02:14 +08:00
update: devtools to v1.06.2412040
This commit is contained in:
parent
fbe81e32ba
commit
23b2b57500
@ -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: 多开实例会出现卡死的情况
|
||||
|
@ -1 +1 @@
|
||||
1.06.2409140,e953b10499fec8dac213092b0d809841
|
||||
1.06.2412040,cc61b0fa1e6ecfac672c793cc2f6dc48
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user