diff --git a/src/step.rs b/src/step.rs index 8c62a3b7..a0f14720 100644 --- a/src/step.rs +++ b/src/step.rs @@ -53,6 +53,7 @@ pub enum Step { Dotnet, Elan, Emacs, + Falconf, Firmware, Flatpak, Flutter, @@ -305,6 +306,7 @@ impl Step { Dotnet => runner.execute(*self, ".NET", || generic::run_dotnet_upgrade(ctx))?, Elan => runner.execute(*self, "elan", || generic::run_elan(ctx))?, Emacs => runner.execute(*self, "Emacs", || emacs::Emacs::new().upgrade(ctx))?, + Falconf => runner.execute(*self, "falconf sync", || generic::run_falconf(ctx))?, Firmware => { #[cfg(target_os = "linux")] @@ -883,6 +885,7 @@ pub(crate) fn default_steps() -> Vec { // JetBrains Space Desktop does not have a CLI JetbrainsWebstorm, Yazi, + Falconf, Powershell, CustomCommands, Vagrant, diff --git a/src/steps/generic.rs b/src/steps/generic.rs index fb829d1f..2f7ddd42 100644 --- a/src/steps/generic.rs +++ b/src/steps/generic.rs @@ -1828,3 +1828,11 @@ pub fn run_typst(ctx: &ExecutionContext) -> Result<()> { ctx.execute(typst).args(["update"]).status_checked() } + +pub fn run_falconf(ctx: &ExecutionContext) -> Result<()> { + let falconf = require("falconf")?; + + print_separator("falconf sync"); + + ctx.execute(falconf).arg("sync").status_checked() +}