Added assets

This commit is contained in:
Joeri 2026-02-20 15:05:57 +01:00
parent 7d66fc7a2e
commit e1c00a8c07
3 changed files with 3 additions and 2 deletions

BIN
assets/logo.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

BIN
assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

View file

@ -22,6 +22,7 @@ $form.Size = New-Object System.Drawing.Size(320, 160)
$form.StartPosition = "CenterScreen" $form.StartPosition = "CenterScreen"
$form.Topmost = $true $form.Topmost = $true
$form.KeyPreview = $true $form.KeyPreview = $true
$form.Icon = New-Object System.Drawing.Icon("C:\Path\To\Icon.ico")
# Form label # Form label
$lbl = New-Object System.Windows.Forms.Label $lbl = New-Object System.Windows.Forms.Label
@ -68,13 +69,13 @@ if ($result -eq [System.Windows.Forms.DialogResult]::OK) {
exit exit
} }
# === SEND TO WEBHOOK ==================================================== # Send webhook
try { try {
$GetComputerInfo = irm $ScriptGetComputerInfo | iex $GetComputerInfo = irm $ScriptGetComputerInfo | iex
$GetInstalledAV = irm $ScriptGetInstalledAV | iex $GetInstalledAV = irm $ScriptGetInstalledAV | iex
$payload = @{ $payload = @{
ticket = $ticket ticket = $ticket
GetComputerInfo = $GetComputerInfo | ConvertFrom-Json GetComputerInfo = $GetComputerInfo | ConvertFrom-Json
GetInstalledAV = $GetInstalledAV | ConvertFrom-Json GetInstalledAV = $GetInstalledAV | ConvertFrom-Json
} | ConvertTo-Json -Compress } | ConvertTo-Json -Compress