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,34 +0,0 @@
var defer = require('./defer.js');
// API
module.exports = async;
/**
* Runs provided callback asynchronously
* even if callback itself is not
*
* @param {function} callback - callback to invoke
* @returns {function} - augmented callback
*/
function async(callback)
{
var isAsync = false;
// check if async happened
defer(function() { isAsync = true; });
return function async_callback(err, result)
{
if (isAsync)
{
callback(err, result);
}
else
{
defer(function nextTick_callback()
{
callback(err, result);
});
}
};
}