* use delayed expansion
* format
This commit is contained in:
parent
ce4a293330
commit
358d146565
5 changed files with 14 additions and 13 deletions
|
@ -1,4 +1,4 @@
|
|||
@ECHO off
|
||||
@ECHO OFF
|
||||
|
||||
:: Patch spotify
|
||||
PowerShell -Command "[Net.ServicePointManager]::SecurityProtocol =" ^
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@ECHO off
|
||||
@ECHO OFF
|
||||
|
||||
:: Start as administrator
|
||||
fltmc > NUL 2> &1 || (
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@ECHO off
|
||||
@ECHO OFF
|
||||
|
||||
:: Start as administrator
|
||||
fltmc > NUL 2> &1 || (
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
@ECHO off
|
||||
@ECHO OFF
|
||||
|
||||
:: Start as administrator
|
||||
fltmc > NUL 2> &1 || (
|
||||
|
|
|
@ -1,11 +1,12 @@
|
|||
@ECHO off
|
||||
@ECHO OFF
|
||||
SETLOCAL ENABLEDELAYEDEXPANSION
|
||||
|
||||
:: Start as administrator
|
||||
fltmc > NUL 2> &1 || (
|
||||
PowerShell Start -Verb RunAs '%0' 2> NUL || (
|
||||
exit 1
|
||||
EXIT 1
|
||||
)
|
||||
exit 0
|
||||
EXIT 0
|
||||
)
|
||||
|
||||
:: === Right click of Windows 10 ==
|
||||
|
@ -92,8 +93,8 @@ wsl --install
|
|||
"%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.mylloon.fr/Anri/confOS/raw/branch/main/.mozilla/firefox/user.js -OutFile '%vbc%/user.js'"
|
||||
FOR /F %%i IN ('dir /B /S ^"%APPDATA%\Mozilla\Firefox\Profiles\*.default-release^"') DO SET "vbc=%%i"
|
||||
PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/Anri/confOS/raw/branch/main/.mozilla/firefox/user.js -OutFile '!vbc!/user.js'"
|
||||
|
||||
PowerShell -Command "Invoke-WebRequest -Uri https://git.mylloon.fr/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.mylloon.fr/Anri/confOS/raw/branch/main/.mozilla/firefox/extensions/SponsorBlockConfig.json -OutFile '%HOMEPATH%\Downloads\SponsorBlockConfig.json'"
|
||||
|
|
Loading…
Reference in a new issue