diff --git a/windows11.bat b/windows11.bat index b9c38e3..f57df5c 100644 --- a/windows11.bat +++ b/windows11.bat @@ -177,21 +177,22 @@ PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/vencord_installer.bat :: === W10Privacy == :: TODO: Flagged as a virus by Defender -ECHO W10Privacy... -PowerShell -Command "Invoke-WebRequest -Uri !repo!/W10Privacy.ini -OutFile '%HOMEPATH%\Downloads\W10Privacy.ini'" -ECHO Ensuite, utilise W10Privacy avec le fichier present dans %HOMEPATH%\Downloads. -PowerShell -Command "" ^ - "$archive = '%TEMP%\W10Privacy.zip';" ^ - "Invoke-WebRequest -Uri https://www.w10privacy.de/app/download/12302828636/W10Privacy.zip -OutFile $archive;" ^ - "Expand-Archive -Path $archive -DestinationPath $env:TEMP -Force;" ^ - "$file = $env:TEMP + '\\' + (Get-ChildItem $env:TEMP\W10Privacy*.exe).BaseName + '.exe';" ^ - "Start-Process $file /S -NoNewWindow -Wait -PassThru;" ^ - "$shortcut = '%APPDATA%\Microsoft\Windows\Start Menu\Programs\W10Privacy.lnk';" ^ - "$bytes = [System.IO.File]::ReadAllBytes($shortcut);" ^ - "$bytes[0x15] = $bytes[0x15] -bor 0x20;" ^ - "[System.IO.File]::WriteAllBytes($shortcut, $bytes);" ^ - "Remove-Item -Force $archive;" ^ - "Remove-Item -Force $file" +:: ECHO W10Privacy... +:: PowerShell -Command "Invoke-WebRequest -Uri !repo!/W10Privacy.ini -OutFile '%HOMEPATH%\Downloads\W10Privacy.ini'" +:: ECHO Ensuite, utilise W10Privacy avec le fichier present dans %HOMEPATH%\Downloads. +:: PowerShell -Command "" ^ +:: "$archive = '%TEMP%\W10Privacy.zip';" ^ +:: "Invoke-WebRequest -Uri https://www.w10privacy.de/app/download/12302828636/W10Privacy.zip -OutFile $archive;" ^ +:: "Expand-Archive -Path $archive -DestinationPath $env:TEMP -Force;" ^ +:: "$file = $env:TEMP + '\\' + (Get-ChildItem $env:TEMP\W10Privacy*.exe).BaseName + '.exe';" ^ +:: "Start-Process $file /S -NoNewWindow -Wait -PassThru;" ^ +:: "$shortcut = '%APPDATA%\Microsoft\Windows\Start Menu\Programs\W10Privacy.lnk';" ^ +:: "$bytes = [System.IO.File]::ReadAllBytes($shortcut);" ^ +:: "$bytes[0x15] = $bytes[0x15] -bor 0x20;" ^ +:: "[System.IO.File]::WriteAllBytes($shortcut, $bytes);" ^ +:: "Remove-Item -Force $archive;" ^ +:: "Remove-Item -Force $file" + :: === Geek Uninstaller == ECHO Geek Uninstaller...