feat: initial commit - Carinha Control Panel v1.0 com UI glassmorphism, watch-bar, emojis, braco robotico e conversa IA
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
param([int]$Porta = 8100, [switch]$SemAbrir)
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$url = "http://192.168.1.35:$Porta"
|
||||
try {
|
||||
$health = Invoke-RestMethod "$url/app/health" -TimeoutSec 5
|
||||
if ($health.projeto -ne 'carinha-pc') { throw 'Servidor inesperado' }
|
||||
} catch {
|
||||
throw "Orange Pi indisponível em $url. Confira alimentação, rede e o serviço carinha-pc. Nenhum servidor será iniciado no PC."
|
||||
}
|
||||
Write-Host "Painel no Orange Pi: $url/painel"
|
||||
if (-not $SemAbrir) { Start-Process "$url/painel" }
|
||||
Reference in New Issue
Block a user