diff --git a/windows11.bat b/windows11.bat index 81e266d..d2715aa 100644 --- a/windows11.bat +++ b/windows11.bat @@ -132,12 +132,12 @@ PowerShell -Command "Expand-Archive -Path '%HOMEPATH%\Downloads\WindowsInk.zip' 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()" +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.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