- Move the Terminal plugin into src/lib/features/terminal/ on the host Svelte runtime, with xterm 6.0.0 and addon-fit 0.11.0. - Buttons, shortcuts, Help rows, and the close guard follow the Terminal switch. The first use loads the module. - Add Settings → Terminal and the terminal settings section. The first start copies the old runestone.terminal key. - The 16 ANSI colors come from the --rs-ansi-* tokens. - Off asks first when a shell runs in any window (pty_running). - Rust: no pty-data or pty-exit events, an owner check for write, resize, and close, output joined up to 64 KiB or 8 ms, and the sessions of a reloaded page close. - Remove api.pty, the terminal contribution, TerminalSlot, and the plugin loader of the smoke harness. - Check only the tested switches in the Background smoke test. - Update the tests, the menu inventory, the docs, and UI-058.
107 lines
3.6 KiB
Rust
107 lines
3.6 KiB
Rust
fn main() {
|
|
tauri_build::try_build(
|
|
tauri_build::Attributes::new().app_manifest(
|
|
tauri_build::AppManifest::new().commands(&[
|
|
"theme_export",
|
|
"background_choose_folder",
|
|
"background_folder",
|
|
"background_clear_folder",
|
|
"background_list",
|
|
"background_read",
|
|
"background_read_sidecar",
|
|
"background_write_sidecar",
|
|
"background_migrate",
|
|
"folders_choose",
|
|
"folders_picture",
|
|
"folders_grants",
|
|
"folders_revoke",
|
|
"folders_list",
|
|
"folders_read",
|
|
"folders_read_sidecar",
|
|
"folders_write_sidecar",
|
|
"features_legacy",
|
|
"spelling_suggestions",
|
|
"spelling_menu_install",
|
|
"spelling_menu_select",
|
|
"spelling_menu_uninstall",
|
|
"settings_open_window",
|
|
"window_snap_layouts",
|
|
"settings_read",
|
|
"settings_write",
|
|
"settings_migrate",
|
|
"tab_transfer_offer",
|
|
"tab_transfer_take",
|
|
"tab_transfer_finish",
|
|
"tab_transfer_cancel",
|
|
"completion_request",
|
|
"completion_cancel",
|
|
"browser_request",
|
|
"browser_connect",
|
|
"browser_stop",
|
|
"browser_engine_status",
|
|
"browser_engine_install",
|
|
"browser_engine_install_file",
|
|
"browser_engine_cancel",
|
|
"browser_engine_remove",
|
|
"git_status",
|
|
"git_diff",
|
|
"git_stage",
|
|
"git_unstage",
|
|
"git_commit",
|
|
"git_blame",
|
|
"git_push",
|
|
"git_pull",
|
|
"git_graph",
|
|
"git_commit_diff",
|
|
"git_commit_details",
|
|
"workspace_open",
|
|
"workspace_open_window",
|
|
"workspace_last_path",
|
|
"workspace_recent",
|
|
"workspace_forget",
|
|
"workspace_new",
|
|
"workspace_list",
|
|
"workspace_list_markdown",
|
|
"workspace_read",
|
|
"workspace_read_many",
|
|
"workspace_read_bytes",
|
|
"workspace_write",
|
|
"workspace_create",
|
|
"workspace_rename",
|
|
"workspace_delete",
|
|
"workspace_read_data_url",
|
|
"workspace_write_bytes",
|
|
"workspace_copy",
|
|
"workspace_abs_path",
|
|
"workspace_reveal",
|
|
"workspace_open_terminal",
|
|
"workspace_open_default",
|
|
"workspace_search",
|
|
"plugins_snapshot",
|
|
"plugins_choose",
|
|
"plugins_from_git",
|
|
"plugins_cancel",
|
|
"plugins_install",
|
|
"plugins_set_enabled",
|
|
"plugins_load",
|
|
"plugins_release",
|
|
"plugins_prepare_remove",
|
|
"plugins_remove",
|
|
"plugins_retry_remove",
|
|
"plugins_reveal",
|
|
"plugins_data",
|
|
"plugins_asset",
|
|
"pty_open",
|
|
"pty_write",
|
|
"pty_resize",
|
|
"pty_close",
|
|
"pty_profiles",
|
|
"pty_new_window",
|
|
"pty_dictation",
|
|
"pty_running",
|
|
]),
|
|
),
|
|
)
|
|
.expect("failed to run tauri-build");
|
|
}
|