From 9821141ad85c3e81cc8e5a6427371d1ab49a6cb9 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 9 May 2023 11:04:24 +0200 Subject: [PATCH] harmonize --- windows11.bat | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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