chore: 更新静态资源文件并清理构建输出目录

删除旧的构建输出文件,包括图片资源和编译生成的JavaScript文件
添加新的图标资源文件到assets/img目录
更新package.json中的开发脚本配置
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-11-12 19:11:40 +08:00
parent 31a85830e5
commit edb7d1ae45
445 changed files with 2454 additions and 101179 deletions

View File

@@ -1,28 +0,0 @@
"use strict";
import stream from "stream";
class ZlibHeaderTransformStream extends stream.Transform {
__transform(chunk, encoding, callback) {
this.push(chunk);
callback();
}
_transform(chunk, encoding, callback) {
if (chunk.length !== 0) {
this._transform = this.__transform;
// Add Default Compression headers if no zlib headers are present
if (chunk[0] !== 120) { // Hex: 78
const header = Buffer.alloc(2);
header[0] = 120; // Hex: 78
header[1] = 156; // Hex: 9C
this.push(header, encoding);
}
}
this.__transform(chunk, encoding, callback);
}
}
export default ZlibHeaderTransformStream;