feat: 限制 PHP 应用升级 (#981)

This commit is contained in:
zhengkunwang223 2023-05-10 14:32:23 +08:00 committed by GitHub
parent 27cc3bcccd
commit 81c56a740c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -570,6 +570,9 @@ func getAppFromRepo(downloadPath, version string) error {
func handleInstalled(appInstallList []model.AppInstall, updated bool) ([]response.AppInstalledDTO, error) {
var res []response.AppInstalledDTO
for _, installed := range appInstallList {
if installed.App.Type == "php" {
continue
}
installDTO := response.AppInstalledDTO{
AppInstall: installed,
}