feat: consolidate local-first mnote web runtime
This commit is contained in:
@@ -111,12 +111,6 @@ function Get-AppliedEnvFiles {
|
||||
}
|
||||
}
|
||||
|
||||
# Vite(开发模式)默认读取:仅对仓库内已存在的 webui 目录做显式识别
|
||||
$viteDev = Join-Path $Root "LightRAG\lightrag_webui\.env.development"
|
||||
if (Test-Path -LiteralPath $viteDev) {
|
||||
$applied.Add((Resolve-Path -LiteralPath $viteDev).Path) | Out-Null
|
||||
}
|
||||
|
||||
return $applied | Select-Object -Unique
|
||||
}
|
||||
|
||||
@@ -273,10 +267,7 @@ function Get-MergeOrderScore {
|
||||
# 目录组优先级:越大越[后覆盖](优先级更高)
|
||||
$group = 0
|
||||
if ($rel -match "^(?i)wolai-backend[/\\\\]") { $group = 60 }
|
||||
elseif ($rel -match "^(?i)wolai-frontend[/\\\\]") { $group = 50 }
|
||||
elseif ($rel -match "^(?i)infra[/\\\\]convex[/\\\\]") { $group = 40 }
|
||||
elseif ($rel -match "^(?i)services[/\\\\]") { $group = 30 }
|
||||
elseif ($rel -match "^(?i)LightRAG[/\\\\]") { $group = 20 }
|
||||
elseif ($rel -match "^(?i)cankao[/\\\\]") { $group = -50 }
|
||||
elseif ($rel -match "(?i)[/\\\\]test[/\\\\]") { $group = -40 }
|
||||
else { $group = 0 }
|
||||
|
||||
Reference in New Issue
Block a user