wayBetter for X
This commit is contained in:
commit
2f1e35ba20
720 changed files with 147465 additions and 0 deletions
39
apps/desktop/src-tauri/build.rs
Normal file
39
apps/desktop/src-tauri/build.rs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
fn main() {
|
||||
#[cfg(feature = "desktop")]
|
||||
tauri_build::try_build(tauri_build::Attributes::new().app_manifest(
|
||||
// X's own commands; `manifest` adds the ones the wayBetter host serves for every app
|
||||
// (`waybetter_host::commands`: tab layout and actions, shell raise, profiles, language,
|
||||
// the plugins folder and custom CSS, the tweak flags, the shell's settings).
|
||||
tauri_build::AppManifest::new().commands(waybetter_host::commands::manifest(&[
|
||||
"draft_list",
|
||||
"draft_save",
|
||||
"draft_revisions",
|
||||
"draft_status",
|
||||
"observation_list",
|
||||
"data_export",
|
||||
"capture_draft",
|
||||
"x_set_theme",
|
||||
"x_theme_get",
|
||||
"theme_scopes_get",
|
||||
"theme_scopes_set",
|
||||
"x_preview_theme",
|
||||
"tab_run_command",
|
||||
"column_configure",
|
||||
"tab_report",
|
||||
"drafts_picker_open",
|
||||
"tab_insert_text",
|
||||
"drafts_popover_dismiss",
|
||||
"drafts_hint",
|
||||
"popover_state",
|
||||
"popover_drafts",
|
||||
"popover_insert",
|
||||
"popover_close",
|
||||
"popover_open_vault",
|
||||
"alerts_get",
|
||||
"alerts_set",
|
||||
"keyword_alert",
|
||||
"tab_attach_image",
|
||||
])),
|
||||
))
|
||||
.expect("Tauri build configuration must be valid");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue