666
This commit is contained in:
@@ -1,3 +1,58 @@
|
||||
const APP_COMMANDS: &[&str] = &[
|
||||
"api_request",
|
||||
"get_software_info",
|
||||
"sync_auth_session",
|
||||
"get_app_config",
|
||||
"get_app_config_last_message",
|
||||
"get_server_app_config",
|
||||
"get_app_config_detail",
|
||||
"list_local_app_config",
|
||||
"set_local_app_config",
|
||||
"delete_local_app_config",
|
||||
"run_quickjs_script",
|
||||
"run_quickjs_script_source",
|
||||
"list_quickjs_scripts",
|
||||
"run_nodejs_script",
|
||||
"run_nodejs_script_source",
|
||||
"list_nodejs_scripts",
|
||||
"read_local_file_base64",
|
||||
"get_media_duration_seconds",
|
||||
"copy_local_file",
|
||||
"write_local_text_file",
|
||||
"reveal_local_file_in_folder",
|
||||
"list_avatars",
|
||||
"insert_avatar",
|
||||
"update_avatar_name",
|
||||
"delete_avatar",
|
||||
"avatar_name_exists",
|
||||
"import_avatar_video",
|
||||
"list_materials",
|
||||
"update_material_name",
|
||||
"delete_material",
|
||||
"import_material_files",
|
||||
"update_generated_audio_name",
|
||||
"list_asr_history",
|
||||
"delete_asr_history",
|
||||
"update_asr_history_name",
|
||||
"transcribe_media_file",
|
||||
"list_generated_audios",
|
||||
"insert_generated_audio",
|
||||
"delete_generated_audio",
|
||||
"list_generated_videos",
|
||||
"insert_generated_video",
|
||||
"import_generated_video",
|
||||
"delete_generated_video",
|
||||
"publish_list_accounts",
|
||||
"publish_login",
|
||||
"publish_check_login",
|
||||
"publish_execute",
|
||||
"publish_delete_account",
|
||||
];
|
||||
|
||||
fn main() {
|
||||
tauri_build::build()
|
||||
tauri_build::try_build(
|
||||
tauri_build::Attributes::new()
|
||||
.app_manifest(tauri_build::AppManifest::new().commands(APP_COMMANDS)),
|
||||
)
|
||||
.expect("failed to run tauri build script");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user