update 1.0.5

This commit is contained in:
2025-10-21 23:45:15 +08:00
parent 486d1d6d5f
commit 365e31677b
4 changed files with 147 additions and 7 deletions

View File

@@ -25,9 +25,10 @@ Commands:
full-upgrade 完全升级软件包
run <package> 运行指定软件包的可执行文件
ssaudit <path> 使用 ssaudit 进行软件安装,详情见 spark-store
debug 显示调试系统信息
debug 显示调试系统信息并进入调试环境
amber 彩蛋功能
-h, --help 显示此帮助信息
--amber 彩蛋功能
EOF
}
@@ -159,12 +160,12 @@ case "$1" in
debug_info
;;
ssaudit)
ssaudit "$@" --native
amber-pm-debug ssaudit "$@" --native
;;
-h|--help)
show_help
;;
--amber)
amber)
amber_egg
;;
*)

View File

@@ -36,7 +36,7 @@ _apm()
# see if the user selected a command already
local COMMANDS=(
"ssupdate"
"ssaudit"
"list"
"search"
"show" "showsrc"
@@ -48,7 +48,8 @@ _apm()
"source" "build-dep"
"clean" "autoclean"
"download" "changelog"
"moo"
"amber"
"debug"
"depends" "rdepends"
"policy")