always mk dir

This commit is contained in:
Mylloon 2023-05-18 01:05:56 +02:00
parent 1d0c7182f6
commit 78c299904a
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -4,9 +4,9 @@ SETLOCAL ENABLEDELAYEDEXPANSION
SET "repo=https://git.mylloon.fr/Anri/confOS/raw/branch/main" SET "repo=https://git.mylloon.fr/Anri/confOS/raw/branch/main"
:: Executed as normal user :: Executed as normal user
fltmc >NUL 2>&1 || ( MKDIR %HOMEPATH%\Documents\Local 2>NUL
MKDIR %HOMEPATH%\Documents\Local
fltmc >NUL 2>&1 || (
:: === Install Spotify == :: === Install Spotify ==
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/blockthespot.bat -OutFile '%HOMEPATH%\Documents\Local\blockthespot.bat'" PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/blockthespot.bat -OutFile '%HOMEPATH%\Documents\Local\blockthespot.bat'"
DEL "%APPDATA%\Spotify" DEL "%APPDATA%\Spotify"