This commit is contained in:
949036910@qq.com
2026-05-28 20:59:42 +08:00
parent d71a654cf1
commit fa467b65b6
6 changed files with 116 additions and 20 deletions

View File

@@ -44,6 +44,7 @@ pub fn run() {
.manage(audio_store::AudioStore::new())
.manage(video_store::VideoStore::new())
.manage(publish_store::PublishStore::new())
.manage(commands::nodejs::NodeTaskRegistry::default())
.setup(|app| {
let handle = app.handle().clone();
@@ -129,6 +130,7 @@ pub fn run() {
commands::nodejs::run_nodejs_script,
commands::nodejs::run_nodejs_script_source,
commands::nodejs::list_nodejs_scripts,
commands::nodejs::stop_nodejs_script,
commands::fs_util::read_local_file_base64,
commands::fs_util::get_media_duration_seconds,
commands::fs_util::copy_local_file,