Embed default registration key so irm | iex works without prompting

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 12:37:08 +00:00
parent 8c962b88f4
commit b4a37981af
+1 -2
View File
@@ -11,7 +11,7 @@
param(
[string]$JarvisUrl = "https://jarvis.orbishosting.com",
[string]$Key = "",
[string]$Key = "f846a9aaf7ce9a61742c63c87c4186052a71d2a580c65518",
[string]$AgentName = $env:COMPUTERNAME.ToLower()
)
@@ -37,7 +37,6 @@ if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdenti
# ── Prompt if not provided ─────────────────────────────────────────────────────
$JarvisUrl = $JarvisUrl.TrimEnd("/")
if (-not $Key) { $Key = Read-Host "Enter registration key" }
# ── Find or install Python 3 (system-wide so LocalSystem service can reach it) ─
Write-Host "[1/6] Checking for Python 3..." -ForegroundColor Cyan