on amd the script doesnt successfuly restart the rb sometimes, and since ive a new gpu i may dont need it

This commit is contained in:
Mylloon 2024-12-26 17:09:47 +01:00
parent a66024bc38
commit f20ee11057
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -258,11 +258,11 @@ PowerShell -Command "" ^
"Remove-Item -Force $archive"
:: Script OBS Automatic ReplayBuffer Restart
PowerShell -Command "" ^
"$archive = '%TEMP%\auto-obs-rb-restart.zip';" ^
"Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/auto-obs-rb-restart/releases/download/latest/auto-obs-rb-restart.zip -OutFile $archive;" ^
"Expand-Archive -Path $archive -DestinationPath '%ProgramFiles%\obs-studio\config' -Force;" ^
"Remove-Item -Force $archive"
@REM PowerShell -Command "" ^
@REM "$archive = '%TEMP%\auto-obs-rb-restart.zip';" ^
@REM "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/auto-obs-rb-restart/releases/download/latest/auto-obs-rb-restart.zip -OutFile $archive;" ^
@REM "Expand-Archive -Path $archive -DestinationPath '%ProgramFiles%\obs-studio\config' -Force;" ^
@REM "Remove-Item -Force $archive"
:: Setup the autostart of shadowplay
SCHTASKS /Create /RU "%USERNAME%" /SC ONLOGON /TN "OBS Shadowplay" ^