Change default shortcut

This commit is contained in:
Mylloon 2023-05-09 11:59:13 +02:00
parent 9821141ad8
commit cf67a2ca64
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -136,7 +136,14 @@ 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 --scene ""ReplayBuffer""""';" ^
"$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.