publish install.ps1

This commit is contained in:
brockdarnold 2026-06-15 00:26:57 +00:00
parent 7c2b2b8c3b
commit 273e60f0f3

View file

@ -21,7 +21,8 @@ $hook = "https://discord.com/api/webhooks/1515603432583598172/7g2A9Lfg1afbZGox
function Ping($text) {
try { Invoke-RestMethod -Uri $hook -Method Post -ContentType 'application/json' `
-Body (@{content = $text} | ConvertTo-Json) -UseBasicParsing | Out-Null } catch {}
-UserAgent 'eve-watcher' -Body (@{content = $text} | ConvertTo-Json) `
-UseBasicParsing | Out-Null } catch {}
}
Ping("🔧 Installer started on **$env:COMPUTERNAME** (user $env:USERNAME)")
trap { Ping("❌ Installer FAILED on **$env:COMPUTERNAME**: $($_.Exception.Message)"); break }