Files
ableton-mcp-ai/FIX_PERMISSIONS_ADMIN.ps1

28 lines
1.2 KiB
PowerShell

# FIX PERMISSIONS - EJECUTAR COMO ADMINISTRADOR
# Clic derecho > Ejjecutar con PowerShell (Administrador)
Write-Host "========================================" -ForegroundColor Cyan
Write-Host "FIX PERMISSIONS - Sprint Granular" -ForegroundColor Cyan
Write-Host "========================================" -ForegroundColor Cyan
$filesToFix = @(
"C:\ProgramData\Ableton\Live 12 Suite\Resources\MIDI Remote Scripts\AbletonMCP_AI\AbletonMCP_AI\MCP_Server\coherence_analyzer.py",
"C:\ProgramData\Ableton\Live 12 Suite\Resources\MIDI Remote Scripts\KIMI_K2_ACTIVE_HANDOFF.md"
)
foreach ($file in $filesToFix) {
if (Test-Path $file) {
$fileName = Split-Path $file -Leaf
Write-Host "Fixing: $fileName" -ForegroundColor Yellow
icacls $file /grant Everyone:F
} else {
Write-Host "NOT FOUND: $file" -ForegroundColor Red
}
}
Write-Host "========================================" -ForegroundColor Green
Write-Host "Done! Ahora ejecuta en WSL:" -ForegroundColor Green
Write-Host "opencode (para reiniciar)" -ForegroundColor White
Write-Host "========================================" -ForegroundColor Green
Read-Host "Press Enter to exit"