* remove accents
* fix firefox default-release don't exist yet * fix path finding of the default-release folder * disable userdiag autodownload
This commit is contained in:
parent
c4eb28e87e
commit
d5240163cc
1 changed files with 13 additions and 9 deletions
|
@ -4,7 +4,7 @@
|
||||||
fltmc >nul 2>&1 || (
|
fltmc >nul 2>&1 || (
|
||||||
echo Vous devez lancer le programme en tant qu'administrateur.
|
echo Vous devez lancer le programme en tant qu'administrateur.
|
||||||
PowerShell Start -Verb RunAs '%0' 2> nul || (
|
PowerShell Start -Verb RunAs '%0' 2> nul || (
|
||||||
echo Clic droit, Exécuter en tant qu'administrateur
|
echo Clic droit, Executer en tant qu'administrateur
|
||||||
pause & exit 1
|
pause & exit 1
|
||||||
)
|
)
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -72,24 +72,28 @@ wsl --install
|
||||||
powershell -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content)} -confirm_uninstall_ms_spoti -confirm_spoti_recomended_over -podcasts_on -cache_on -block_update_off -start_spoti"""" | Invoke-Expression"
|
powershell -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12}; """"& { $((Invoke-WebRequest -UseBasicParsing 'https://raw.githubusercontent.com/amd64fox/SpotX/main/Install.ps1').Content)} -confirm_uninstall_ms_spoti -confirm_spoti_recomended_over -podcasts_on -cache_on -block_update_off -start_spoti"""" | Invoke-Expression"
|
||||||
|
|
||||||
:: Firefox configuration
|
:: Firefox configuration
|
||||||
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/.mozilla/firefox/user.js -OutFile %APPDATA%\Mozilla\Firefox\Profiles\*.default-release\user.js"
|
%PROGRAMFILES%\Mozilla Firefox\firefox.exe
|
||||||
|
taskkill /im firefox.exe /F
|
||||||
|
for /F %%i in ('dir /B /S ^"%APPDATA%\Mozilla\Firefox\Profiles\*.default-release^"') do set vbc=%%i
|
||||||
|
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/.mozilla/firefox/user.js -OutFile %VBC%/user.js"
|
||||||
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/.mozilla/firefox/extensions/Dark-Reader-Settings.json -OutFile %HOMEPATH%\Downloads\Dark-Reader-Settings.json"
|
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/.mozilla/firefox/extensions/Dark-Reader-Settings.json -OutFile %HOMEPATH%\Downloads\Dark-Reader-Settings.json"
|
||||||
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/.mozilla/firefox/extensions/SponsorBlockConfig.json -OutFile %HOMEPATH%\Downloads\SponsorBlockConfig.json"
|
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/.mozilla/firefox/extensions/SponsorBlockConfig.json -OutFile %HOMEPATH%\Downloads\SponsorBlockConfig.json"
|
||||||
echo La configuration des différents Addons de Firefox est présente dans le dossier %HOMEPATH%\Downloads.
|
echo La configuration des differents Addons de Firefox est presente dans le dossier %HOMEPATH%\Downloads.
|
||||||
|
|
||||||
:: C++ Libraries
|
:: C++ Libraries
|
||||||
echo Rend toi sur https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/ et installe les bibliothèques C++.
|
echo Rend toi sur https://www.techpowerup.com/download/visual-c-redistributable-runtime-package-all-in-one/ et installe les bibliotheques C++.
|
||||||
|
|
||||||
:: User Diag for drivers
|
:: User Diag for drivers
|
||||||
powershell -Command "Invoke-WebRequest -Uri https://userdiag.com/download -OutFile %HOMEPATH%\Downloads\UserDiag.exe"
|
:: powershell -Command "Invoke-WebRequest -Uri https://userdiag.com/download -OutFile %HOMEPATH%\Downloads\UserDiag.exe"
|
||||||
echo Installe les pilotes, pour connaître la liste des pilotes, utilise UserDiag (cf. dossier Téléchargements)
|
:: echo Installe les pilotes, pour connaître la liste des pilotes, utilise UserDiag (cf. dossier Telechargements)
|
||||||
|
echo Installe les pilotes, pour connaître la liste des pilotes, utilise UserDiag (cf. https://userdiag.com/download)
|
||||||
|
|
||||||
:: W10Privacy
|
:: W10Privacy
|
||||||
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/W10Privacy.ini -OutFile %HOMEPATH%\Downloads\W10Privacy.ini"
|
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/W10Privacy.ini -OutFile %HOMEPATH%\Downloads\W10Privacy.ini"
|
||||||
echo Ensuite, utilise W10Privacy (https://www.w10privacy.de/deutsch-start/download/) avec le fichier présent dans %HOMEPATH%\Downloads (version 4.0.0.1).
|
echo Ensuite, utilise W10Privacy (https://www.w10privacy.de/deutsch-start/download/) avec le fichier present dans %HOMEPATH%\Downloads (version 4.0.0.1).
|
||||||
|
|
||||||
echo Fais un tour des paramètres Windows, après avoir fait toutes les mises à jour disponible sur le PC.
|
echo Fais un tour des parametres Windows, apres avoir fait toutes les mises a jour disponible sur le PC.
|
||||||
echo Enfin, redémarre l'ordinateur
|
echo Enfin, redemarre l'ordinateur
|
||||||
|
|
||||||
pause
|
pause
|
||||||
exit /b
|
exit /b
|
||||||
|
|
Loading…
Reference in a new issue