Merge branch 'main' of git.mylloon.fr:Anri/confOS

This commit is contained in:
Mylloon 2023-05-10 02:53:48 +02:00
commit 68e2c310fa
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -131,6 +131,21 @@ 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 "$WshShell = New-Object -COM WScript.Shell;" ^
"$Shortcut = $WshShell.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 --profile ""ReplayBuffer"""" --scene ""ReplayBuffer""""';" ^
"$Shortcut.Save()"
:: Default shortcut should start default profile
PowerShell -Command "$WshShell = New-Object -COM WScript.Shell;" ^
"$Shortcut = $WshShell.CreateShortcut('%ProgramData%\Microsoft\Windows\Start Menu\Programs\OBS Studio\OBS Studio (64bit).lnk');" ^
"$Shortcut.TargetPath = '%ProgramFiles%\obs-studio\bin\64bit\obs64.exe';" ^
"$Shortcut.WorkingDirectory = '%ProgramFiles%\obs-studio\bin\64bit';" ^
"$Shortcut.Arguments = '--profile ""ANRI GAMING (PROFIL)""""';" ^
"$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