diff --git a/windows11.bat b/windows11.bat index 81718ad..eb4b45e 100644 --- a/windows11.bat +++ b/windows11.bat @@ -5,7 +5,10 @@ SET "repo=https://git.mylloon.fr/Anri/confOS/raw/branch/main" :: Executed as normal user fltmc >NUL 2>&1 || ( + MKDIR %HOMEPATH%\Documents\Local + :: === Install Spotify == + PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/blockthespot.bat -OutFile '%HOMEPATH%\Documents\Local\blockthespot.bat'" DEL "%APPDATA%\Spotify" CMD /c "%HOMEPATH%\Documents\Local\blockthespot.bat" @@ -134,9 +137,7 @@ PowerShell -Command "Install-PackageProvider -Name NuGet -Force" PowerShell -Command "Install-Module -Name PSWindowsUpdate -Force" :: === Scripts == -MKDIR %HOMEPATH%\Documents\Local PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/ctmpf.bat -OutFile '%HOMEPATH%\Documents\Local\ctmpf.bat'" -PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/blockthespot.bat -OutFile '%HOMEPATH%\Documents\Local\blockthespot.bat'" PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/update.bat -OutFile '%HOMEPATH%\Documents\Local\update.bat'" PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_nvidia_wsl.bat -OutFile '%HOMEPATH%\Documents\Local\fix_nvidia_wsl.bat'"