04-oct: instalar_dependencias.ps1 + omniroute-autostart.ts al repo + comparativa equipos
This commit is contained in:
@@ -36,6 +36,8 @@ $TaskMonitor = 'Monitor Estado'
|
||||
$WatchdogMonitor = Join-Path $RepoRoot 'scripts\monitor_estado_watchdog.ps1'
|
||||
$PluginSrcMon = Join-Path $RepoRoot 'opencode\monitor-estado-bootstrap.ts'
|
||||
$PluginDstMon = Join-Path $PluginDir 'monitor-estado-bootstrap.ts'
|
||||
$PluginSrcAuto = Join-Path $RepoRoot 'opencode\omniroute-autostart.ts'
|
||||
$PluginDstAuto = Join-Path $PluginDir 'omniroute-autostart.ts'
|
||||
|
||||
Write-Host '== Instalando infraestructura global (OmniRoute + OpenCode) ==' -ForegroundColor Cyan
|
||||
|
||||
@@ -47,6 +49,11 @@ Write-Host " - Plugin global instalado en $PluginDst" -ForegroundColor Green
|
||||
Copy-Item -LiteralPath $PluginSrcMon -Destination $PluginDstMon -Force
|
||||
Write-Host " - Plugin global instalado en $PluginDstMon" -ForegroundColor Green
|
||||
|
||||
if (Test-Path $PluginSrcAuto) {
|
||||
Copy-Item -LiteralPath $PluginSrcAuto -Destination $PluginDstAuto -Force
|
||||
Write-Host " - Plugin global instalado en $PluginDstAuto" -ForegroundColor Green
|
||||
}
|
||||
|
||||
# 2) Tarea programada ------------------------------------------------------
|
||||
if (-not (Test-Path $Watchdog)) { throw "No se encuentra el vigilante: $Watchdog" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user