feat: dynamic previewer Lua API (#3891)

This commit is contained in:
sxyazi 2026-04-16 17:05:46 +08:00
parent 80a54c3dd5
commit 463150848d
No known key found for this signature in database
186 changed files with 2610 additions and 1598 deletions

View file

@ -5,7 +5,7 @@ use tokio::sync::mpsc;
use yazi_core::tasks::TaskOpt;
use yazi_macro::{emit, relay};
use yazi_scheduler::process::ProcessOpt;
use yazi_shared::{Id, url::UrlCow};
use yazi_shared::{Id, url::{UrlBuf, UrlCow}};
pub struct TasksProxy;
@ -23,7 +23,7 @@ impl TasksProxy {
}
pub async fn process_exec(
cwd: UrlCow<'static>,
cwd: UrlBuf,
cmd: OsString,
args: Vec<UrlCow<'static>>,
block: bool,