Add Support for Spicetify (#798)
This commit is contained in:
@@ -116,6 +116,7 @@ pub enum Step {
|
|||||||
Sheldon,
|
Sheldon,
|
||||||
Shell,
|
Shell,
|
||||||
Snap,
|
Snap,
|
||||||
|
Spicetify,
|
||||||
Stack,
|
Stack,
|
||||||
System,
|
System,
|
||||||
Tldr,
|
Tldr,
|
||||||
|
|||||||
@@ -324,6 +324,7 @@ fn run() -> Result<()> {
|
|||||||
})?;
|
})?;
|
||||||
runner.execute(Step::Micro, "micro", || generic::run_micro(run_type))?;
|
runner.execute(Step::Micro, "micro", || generic::run_micro(run_type))?;
|
||||||
runner.execute(Step::Raco, "raco", || generic::run_raco_update(run_type))?;
|
runner.execute(Step::Raco, "raco", || generic::run_raco_update(run_type))?;
|
||||||
|
runner.execute(Step::Spicetify, "spicetify", || generic::spicetify_upgrade(&ctx))?;
|
||||||
|
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_os = "linux")]
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -432,3 +432,10 @@ pub fn bin_update(ctx: &ExecutionContext) -> Result<()> {
|
|||||||
print_separator("Bin");
|
print_separator("Bin");
|
||||||
ctx.run_type().execute(&bin).arg("update").check_run()
|
ctx.run_type().execute(&bin).arg("update").check_run()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pub fn spicetify_upgrade(ctx: &ExecutionContext) -> Result<()> {
|
||||||
|
let spicetify = utils::require("spicetify")?;
|
||||||
|
|
||||||
|
print_separator("Spicetify");
|
||||||
|
ctx.run_type().execute(&spicetify).arg("upgrade").check_run()
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user