feat: support architecture detail display for local app (#10777)

Refs https://github.com/1Panel-dev/1Panel/issues/10770
This commit is contained in:
CityFun 2025-10-27 17:58:16 +08:00 committed by GitHub
parent f12e70ef5d
commit dd3419bf52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1409,6 +1409,8 @@ func handleLocalApp(appDir string) (app *model.App, err error) {
desc, _ := json.Marshal(appDefine.Description)
app.Description = string(desc)
app.Key = "local" + appDefine.Key
app.Architectures = strings.Join(appDefine.Architectures, ",")
app.GpuSupport = appDefine.GpuSupport
app.Resource = constant.AppResourceLocal
app.Status = constant.AppNormal