(param: { uuid: string; code: string; upsertBy: InstallSource })
| 392 | |
| 393 | // 直接通过code静默安装脚本 |
| 394 | async installByCode(param: { uuid: string; code: string; upsertBy: InstallSource }) { |
| 395 | const { code, upsertBy, uuid } = param; |
| 396 | const { script } = await prepareScriptByCode(code, "", uuid, true); |
| 397 | await this.installScript({ |
| 398 | script, |
| 399 | code, |
| 400 | upsertBy, |
| 401 | }); |
| 402 | return script; |
| 403 | } |
| 404 | |
| 405 | // 获取安装信息 |
| 406 | async getInstallInfo(uuid: string) { |
no test coverage detected