add quotes

This commit is contained in:
Mylloon 2023-01-04 12:36:17 +01:00
parent ed3aece6b9
commit 2aa8204406
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -94,17 +94,17 @@ powershell -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.Securi
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/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/SponsorBlockConfig.json -OutFile %HOMEPATH%\Downloads\SponsorBlockConfig.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'"
echo La configuration des differents Addons de Firefox est presente dans le dossier %HOMEPATH%\Downloads.
:: === User Diag for drivers ==
echo Installe les pilotes, pour connaitre la liste des pilotes, utilise UserDiag https://userdiag.com/download
:: === 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 present dans %HOMEPATH%\Downloads (version 4.0.0.1).
:: === Modules ==
@ -113,28 +113,28 @@ powershell -Command "Install-Module -Name PSWindowsUpdate -Force"
:: === Scripts ==
mkdir %HOMEPATH%\Documents\Local
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/windows/ctmpf.bat -OutFile %HOMEPATH%\Documents\Local\ctmpf.bat"
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/windows/spotx.bat -OutFile %HOMEPATH%\Documents\Local\spotx.bat"
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/windows/update.bat -OutFile %HOMEPATH%\Documents\Local\update.bat"
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/windows/ctmpf.bat -OutFile '%HOMEPATH%\Documents\Local\ctmpf.bat'"
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/windows/spotx.bat -OutFile '%HOMEPATH%\Documents\Local\spotx.bat'"
powershell -Command "Invoke-WebRequest -Uri https://git.kennel.ml/Anri/confOS/raw/branch/main/windows/update.bat -OutFile '%HOMEPATH%\Documents\Local\update.bat'"
:: === OpenTabletDriver ==
:: Download
powershell -Command "Invoke-WebRequest -Uri https://opentabletdriver.net/Release/Download/OpenTabletDriver.win-x64.zip -OutFile %HOMEPATH%\Downloads\OpenTabletDriver.win-x64.zip"
powershell -Command "Invoke-WebRequest -Uri https://opentabletdriver.net/Release/Download/OpenTabletDriver.win-x64.zip -OutFile '%HOMEPATH%\Downloads\OpenTabletDriver.win-x64.zip'"
:: Extract
powershell -Command "Expand-Archive -Path %HOMEPATH%\Downloads\OpenTabletDriver.win-x64.zip -DestinationPath '%ProgramFiles%\OpenTabletDriver'"
powershell -Command "Expand-Archive -Path '%HOMEPATH%\Downloads\OpenTabletDriver.win-x64.zip' -DestinationPath '%ProgramFiles%\OpenTabletDriver'"
:: Create shortcut
powershell -Command "& { $WshShell = New-Object -comObject WScript.Shell; $Shortcut = $WshShell.CreateShortcut('%APPDATA%\Microsoft\Windows\Start Menu\Programs\OpenTabletDriver.lnk'); $Shortcut.TargetPath = '%ProgramFiles%\OpenTabletDriver\OpenTabletDriver.UX.Wpf.exe'; $Shortcut.Save() }"
:: WindowsInk
powershell -Command "Invoke-WebRequest -Uri https://github.com/X9VoiD/vmulti-bin/releases/download/v1.0/Driver.zip -OutFile %HOMEPATH%\Downloads\Driver-VMulti.zip"
powershell -Command "Invoke-WebRequest -Uri https://github.com/X9VoiD/vmulti-bin/releases/download/v1.0/Driver.zip -OutFile '%HOMEPATH%\Downloads\Driver-VMulti.zip'"
:: Extract
powershell -Command "Expand-Archive -Path %HOMEPATH%\Downloads\Driver-VMulti.zip -DestinationPath %HOMEPATH%\Downloads\Driver-VMulti"
powershell -Command "Expand-Archive -Path '%HOMEPATH%\Downloads\Driver-VMulti.zip' -DestinationPath '%HOMEPATH%\Downloads\Driver-VMulti'"
:: Install driver
call %HOMEPATH%\Downloads\Driver-VMulti\64\install_hiddriver.bat
:: Download plugin
powershell -Command "Invoke-WebRequest -Uri https://github.com/X9VoiD/VoiDPlugins/releases/latest/download/WindowsInk.zip -OutFile %HOMEPATH%\Downloads\WindowsInk.zip"
powershell -Command "Invoke-WebRequest -Uri https://github.com/X9VoiD/VoiDPlugins/releases/latest/download/WindowsInk.zip -OutFile '%HOMEPATH%\Downloads\WindowsInk.zip'"
:: Extract plugin
powershell -Command "Expand-Archive -Path %HOMEPATH%\Downloads\WindowsInk.zip -DestinationPath '%LOCALAPPDATA%\OpenTabletDriver\Plugins\Windows Ink'"
powershell -Command "Expand-Archive -Path '%HOMEPATH%\Downloads\WindowsInk.zip' -DestinationPath '%LOCALAPPDATA%\OpenTabletDriver\Plugins\Windows Ink'"
:: === Miscellaneous ==
:: Rename shortcut for Minecraft