mirror of
https://github.com/myronblair/jarvis
synced 2026-06-30 17:50:23 -05:00
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:
@@ -11,7 +11,7 @@
|
|||||||
|
|
||||||
param(
|
param(
|
||||||
[string]$JarvisUrl = "https://jarvis.orbishosting.com",
|
[string]$JarvisUrl = "https://jarvis.orbishosting.com",
|
||||||
[string]$Key = "",
|
[string]$Key = "f846a9aaf7ce9a61742c63c87c4186052a71d2a580c65518",
|
||||||
[string]$AgentName = $env:COMPUTERNAME.ToLower()
|
[string]$AgentName = $env:COMPUTERNAME.ToLower()
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -37,7 +37,6 @@ if (-not ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdenti
|
|||||||
|
|
||||||
# ── Prompt if not provided ─────────────────────────────────────────────────────
|
# ── Prompt if not provided ─────────────────────────────────────────────────────
|
||||||
$JarvisUrl = $JarvisUrl.TrimEnd("/")
|
$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) ─
|
# ── Find or install Python 3 (system-wide so LocalSystem service can reach it) ─
|
||||||
Write-Host "[1/6] Checking for Python 3..." -ForegroundColor Cyan
|
Write-Host "[1/6] Checking for Python 3..." -ForegroundColor Cyan
|
||||||
|
|||||||
Reference in New Issue
Block a user