mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-12-18 21:38:57 +08:00
feat: support architecture detail display for local app (#10777)
Refs https://github.com/1Panel-dev/1Panel/issues/10770
This commit is contained in:
parent
f12e70ef5d
commit
dd3419bf52
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue