fix spotify installation
This commit is contained in:
parent
9dfed11f17
commit
6a403b89c8
1 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,10 @@ SET "repo=https://git.mylloon.fr/Anri/confOS/raw/branch/main"
|
|||
|
||||
:: Executed as normal user
|
||||
fltmc >NUL 2>&1 || (
|
||||
MKDIR %HOMEPATH%\Documents\Local
|
||||
|
||||
:: === Install Spotify ==
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/blockthespot.bat -OutFile '%HOMEPATH%\Documents\Local\blockthespot.bat'"
|
||||
DEL "%APPDATA%\Spotify"
|
||||
CMD /c "%HOMEPATH%\Documents\Local\blockthespot.bat"
|
||||
|
||||
|
@ -134,9 +137,7 @@ PowerShell -Command "Install-PackageProvider -Name NuGet -Force"
|
|||
PowerShell -Command "Install-Module -Name PSWindowsUpdate -Force"
|
||||
|
||||
:: === Scripts ==
|
||||
MKDIR %HOMEPATH%\Documents\Local
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/ctmpf.bat -OutFile '%HOMEPATH%\Documents\Local\ctmpf.bat'"
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/blockthespot.bat -OutFile '%HOMEPATH%\Documents\Local\blockthespot.bat'"
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/update.bat -OutFile '%HOMEPATH%\Documents\Local\update.bat'"
|
||||
PowerShell -Command "Invoke-WebRequest -Uri !repo!/windows/fix_nvidia_wsl.bat -OutFile '%HOMEPATH%\Documents\Local\fix_nvidia_wsl.bat'"
|
||||
|
||||
|
|
Loading…
Reference in a new issue