add quotes
This commit is contained in:
parent
ed3aece6b9
commit
2aa8204406
1 changed files with 13 additions and 13 deletions
|
@ -94,17 +94,17 @@ powershell -Command "&{[Net.ServicePointManager]::SecurityProtocol = [Net.Securi
|
||||||
taskkill /im firefox.exe /F
|
taskkill /im firefox.exe /F
|
||||||
|
|
||||||
for /F %%i in ('dir /B /S ^"%APPDATA%\Mozilla\Firefox\Profiles\*.default-release^"') do set vbc=%%i
|
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/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 differents Addons de Firefox est presente dans le dossier %HOMEPATH%\Downloads.
|
echo La configuration des differents Addons de Firefox est presente dans le dossier %HOMEPATH%\Downloads.
|
||||||
|
|
||||||
:: === User Diag for drivers ==
|
:: === User Diag for drivers ==
|
||||||
echo Installe les pilotes, pour connaitre la liste des pilotes, utilise UserDiag https://userdiag.com/download
|
echo Installe les pilotes, pour connaitre la liste des pilotes, utilise UserDiag 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 present 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).
|
||||||
|
|
||||||
:: === Modules ==
|
:: === Modules ==
|
||||||
|
@ -113,28 +113,28 @@ powershell -Command "Install-Module -Name PSWindowsUpdate -Force"
|
||||||
|
|
||||||
:: === Scripts ==
|
:: === Scripts ==
|
||||||
mkdir %HOMEPATH%\Documents\Local
|
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/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/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/update.bat -OutFile '%HOMEPATH%\Documents\Local\update.bat'"
|
||||||
|
|
||||||
:: === OpenTabletDriver ==
|
:: === OpenTabletDriver ==
|
||||||
:: Download
|
:: 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
|
:: 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
|
:: 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() }"
|
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
|
:: 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
|
:: 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
|
:: Install driver
|
||||||
call %HOMEPATH%\Downloads\Driver-VMulti\64\install_hiddriver.bat
|
call %HOMEPATH%\Downloads\Driver-VMulti\64\install_hiddriver.bat
|
||||||
:: Download plugin
|
:: 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
|
:: 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 ==
|
:: === Miscellaneous ==
|
||||||
:: Rename shortcut for Minecraft
|
:: Rename shortcut for Minecraft
|
||||||
|
|
Loading…
Reference in a new issue