publish install.ps1
This commit is contained in:
parent
7c2b2b8c3b
commit
273e60f0f3
1 changed files with 2 additions and 1 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue