Skip to content

Commit a50edef

Browse files
committed
Fix: cli , version CEF89 cannot be installed
1 parent 8a2fc6e commit a50edef

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

cmd/internal/consts/consts.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ const (
5858
CEF106 = "106" // CEF 106
5959
CEF10611 = "106.1.1" // CEF 106.1.1
6060
CEF87 = "87" // CEF 87
61+
CEF89 = "89" // CEF 87
6162
CEF87114 = "87.1.14" // CEF 87.1.14
6263
)
6364

cmd/internal/remotecfg/model_config.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,9 @@ func (m TConfig) GetInstallVersion(c *command.Config) (installVersion *TVersions
114114
} else if cef == consts.CEF87 {
115115
cefModuleName = "cef-87"
116116
liblclModuleName = "liblcl-87"
117+
} else if cef == consts.CEF89 {
118+
cefModuleName = "cef-89"
119+
liblclModuleName = "liblcl-89"
117120
}
118121
// 未匹配到, 找到当前安装 energy 版本所支持的最新 CEF 版本号, 规则为取版本号最大数字
119122
if cefModuleName == "" {

0 commit comments

Comments
 (0)