download w10 privacy

This commit is contained in:
Mylloon 2023-05-17 17:49:47 +02:00
parent 0910648b96
commit 7ffe3bc648
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -118,7 +118,12 @@ ECHO Installe les pilotes, pour connaitre la liste des pilotes, utilise UserDiag
:: === W10Privacy == :: === W10Privacy ==
PowerShell -Command "Invoke-WebRequest -Uri !repo!/W10Privacy.ini -OutFile '%HOMEPATH%\Downloads\W10Privacy.ini'" PowerShell -Command "Invoke-WebRequest -Uri !repo!/W10Privacy.ini -OutFile '%HOMEPATH%\Downloads\W10Privacy.ini'"
ECHO Ensuite, utilise W10Privacy (https://www.w10privacy.de/deutsch-start/download/) avec le fichier present dans %HOMEPATH%\Downloads (version 4.1.2.1). 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;" ^
"$file = $env:TEMP + '\\' + (Get-ChildItem $env:TEMP\W10Privacy*.exe).BaseName + '.exe';" ^
"Start-Process $file /S -NoNewWindow -Wait -PassThru"
:: === Modules == :: === Modules ==
PowerShell -Command "Install-PackageProvider -Name NuGet -Force" PowerShell -Command "Install-PackageProvider -Name NuGet -Force"