From dd3419bf52408e8d388d8b72ff9b69dd80ac6b3c Mon Sep 17 00:00:00 2001 From: CityFun <31820853+zhengkunwang223@users.noreply.github.com> Date: Mon, 27 Oct 2025 17:58:16 +0800 Subject: [PATCH] feat: support architecture detail display for local app (#10777) Refs https://github.com/1Panel-dev/1Panel/issues/10770 --- agent/app/service/app_utils.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/agent/app/service/app_utils.go b/agent/app/service/app_utils.go index 3bec11e24..697207fef 100644 --- a/agent/app/service/app_utils.go +++ b/agent/app/service/app_utils.go @@ -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