新增quickcommand.showLoadingBar,支持显示加载条

This commit is contained in:
fofolee
2025-02-17 22:38:19 +08:00
parent d7508c36a7
commit 3eca3b448e
14 changed files with 339 additions and 84 deletions

View File

@@ -18,7 +18,6 @@ async function runFFmpeg(args, options = {}) {
return;
}
const {
title = "FFmpeg处理",
text = "处理中...",
position = "bottom-right",
onPause,
@@ -31,7 +30,6 @@ async function runFFmpeg(args, options = {}) {
// 显示进度条
const processBar = isShowProcessBar
? await quickcommand.showProcessBar({
title,
text,
value: 0,
position,