make obs boot at startup for replay buffer

This commit is contained in:
Mylloon 2023-05-09 11:03:03 +02:00
parent 2ce258c6f2
commit a1e9200f5d
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -131,6 +131,14 @@ PowerShell -Command "Expand-Archive -Path '%HOMEPATH%\Downloads\WindowsInk.zip'
:: Rename shortcut for Minecraft
RENAME "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Prism Launcher.lnk" Minecraft.lnk
:: Startup OBS replay buffer
PowerShell -Command "$shell = New-Object -COM WScript.Shell;" ^
"$shortcut = $shell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\OBS.lnk');" ^
"$shortcut.TargetPath = '%ProgramFiles%\obs-studio\bin\64bit\obs64.exe';" ^
"$ShortCut.WorkingDirectory = '%ProgramFiles%\obs-studio\bin\64bit';" ^
"$shortcut.Arguments = '--disable-missing-files-check --minimize-to-tray --startreplaybuffer --scene ""ReplayBuffer""""';" ^
"$shortcut.Save()"
ECHO Fais un tour des paramètres Windows, apres avoir fait toutes les mises a jour disponible sur le PC.
ECHO Enfin, redemarre l'ordinateur