feat: 支持多APK与渠道变体,增加自动定位的服务管理CLI

This commit is contained in:
tongtong committed 2026-11-25 16:10:05 +08:00
1 parent 7984785610
commit 87652364bc
33 files changed
+1110 -42

No files matched your search

+3
View File
@@ -19,6 +19,9 @@ func (roots *workspaceRootFlags) Set(value string) error {
return nil
}
func (s *Server) allowedWorkspaceRoots() []string {
if s.accessLoaded && len(s.workspaceRoots) == 0 {
return []string{}
}
input := s.workspaceRoots
if len(input) == 0 {
root := s.workspaceRoot