完善分发与收集任务全流程
- RestJobEx 对齐 task_id,path_file 提交目录路径 - 运行页进度仅跟接口轮询,失败态停留 page3 UI - 完成态卡位续做,USB/任务轮询生命周期优化 - 拆分 DLL 加载、任务 staging 与提交前校验 - 移除 mock 与冗余样式,补充 native 依赖 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -9,13 +9,15 @@ const required = [
|
||||
'dcrf32.dll',
|
||||
'Entry.dll',
|
||||
'libpng16.dll',
|
||||
'zint.dll'
|
||||
'zint.dll',
|
||||
'freetype.dll',
|
||||
'opencv_world490d.dll'
|
||||
]
|
||||
|
||||
const missing = required.filter((name) => !fs.existsSync(path.join(nativeDir, name)))
|
||||
if (missing.length) {
|
||||
console.error(`resources/native 缺少: ${missing.join(', ')}`)
|
||||
console.error('请从 docs/API/lib 复制 7 个 dll(不含 .lib)')
|
||||
console.error('请从 docs/API/lib 复制完整 native 依赖(不含 .lib)')
|
||||
process.exit(1)
|
||||
}
|
||||
console.log('resources/native: 7 dll 齐全')
|
||||
console.log(`resources/native: ${required.length} dll 齐全`)
|
||||
|
||||
Reference in New Issue
Block a user