feat: support AppMan (#423)

This commit is contained in:
SteveLauC
2023-05-09 14:03:06 +08:00
committed by GitHub
parent 227e8dcc8d
commit 14753a14e7
3 changed files with 10 additions and 0 deletions

View File

@@ -507,6 +507,14 @@ pub fn update_am(ctx: &ExecutionContext) -> Result<()> {
Ok(())
}
pub fn run_appman(ctx: &ExecutionContext) -> Result<()> {
let appman = require("appman")?;
print_separator("appman");
ctx.run_type().execute(appman).arg("-u").status_checked()
}
pub fn run_pacdef(ctx: &ExecutionContext) -> Result<()> {
let pacdef = require("pacdef")?;