修改接口文档
This commit is contained in:
parent
54dc013eb5
commit
76fbf1a158
|
@ -38,7 +38,7 @@
|
|||
| GetBackendStatus | 无 | i | 控制获取后端状态 | |
|
||||
| UnattendedUpgradeValue | ss | bs | 获取是否允许关机前更新 | |
|
||||
| PurgePackages | as | b | 卸载软件包 | |
|
||||
| InstalldebFile | ssb | b | 安装本地deb包 | |
|
||||
| InstalldebFile | ssbb | b | 安装本地deb包 | |
|
||||
| | | | | |
|
||||
| | | | | |
|
||||
### Method分析
|
||||
|
@ -67,16 +67,6 @@
|
|||
- `UpdateInstallFinished:` 升级安装完成的信号
|
||||
|
||||
|
||||
#### InstalldebFile
|
||||
|
||||
- `简介:`安装本地deb包
|
||||
|
||||
- `入参:` `s:` 安装模式,`s:`本地deb包绝对路径,`b:`出现依赖问题时是否查询本路径下是否存在满足的包
|
||||
- `出参:`True or False
|
||||
- `对应信号:`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#### UpdateDownloadInfo
|
||||
|
@ -130,6 +120,25 @@
|
|||
|
||||
|
||||
|
||||
#### InstalldebFile
|
||||
|
||||
- `简介:`安装本地deb包
|
||||
|
||||
- `入参:` `source:(string)` 安装来源,`path:(string)`本地deb包绝对路径,`_check_local_dep:(bool)`出现依赖问题时是否查询本路径下是否存在满足的包,`_auto_satisfy:(bool)`出现依赖问题时是否通过网络下载并安装依赖包
|
||||
- `出参:`True or False
|
||||
- `对应信号:`
|
||||
- `InstalldebStatusChanged`:安装过程的进度信号以及状态
|
||||
- `InstalldebFinished`:安装完成的信号
|
||||
- `示例:`
|
||||
|
||||
```sh
|
||||
source = 'kylin-installer', path = '/home/kylin/kylin-video_3.1.0-94.5_amd64.deb', _check_local_dep = 0, _auto_satisfy = 1
|
||||
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
#### PurgePackages
|
||||
|
||||
- `简介:`卸载系统中的软件包
|
||||
|
|
Loading…
Reference in New Issue