win10-prep

Batch script to tweak Windows 10 to a more usable form
Log | Files | Refs

commit 6e9c8c7a1870b42d6b4bcdb5fc0f0b1e2c3a4267
parent f72d02c9737e30f87ad46a857dfde8bf7749bad8
Author: Peter <peter@minskio.co.uk>
Date:   Wed, 17 Jul 2019 11:31:55 +0100

Improve mpv installation

Came mainly from https://github.com/just-install/registry/pull/128

Diffstat:
M5-install.bat | 12+++++-------
1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/5-install.bat b/5-install.bat @@ -93,9 +93,8 @@ rem install webp codec ren %temp%\.rsrc\0\MSIFILE\1 1.msi && msiexec /i %temp%\.rsrc\0\MSIFILE\1.msi /quiet /qn /norestart ren %temp%\.rsrc\0\MSIFILE\10 10.msi && msiexec /i %temp%\.rsrc\0\MSIFILE\10.msi /quiet /qn /norestart rd /s /q %temp%\.rsrc -rem mpv download and unpack -mkdir "%programfiles%\mpv" -@powershell Invoke-WebRequest https://mpv.srsfckn.biz/mpv-x86_64-20181002.7z -OutFile mpv.7z -@powershell Invoke-WebRequest https://raw.githubusercontent.com/rossy/mpv-install/master/mpv-document.ico -OutFile mpv-document.ico -"%programfiles%\7-Zip\7z.exe" x %temp%\mpv.7z -o"%programfiles%\mpv" -move mpv-document.ico "%programfiles%\mpv\mpv-document.ico" -\ No newline at end of file +rem mpv bootstrapper download and install +cd "%temp%" +@powershell Invoke-WebRequest "https://downloads.sourceforge.net/project/mpv-player-windows/bootstrapper.zip" -OutFile "mpv.zip" -UserAgent [Microsoft.PowerShell.Commands.PSUserAgent]::FireFox +"%programfiles%\7-Zip\7z.exe" x "mpv.zip" -o"%programfiles%\mpv" && del "mpv.zip" +cd "%programfiles%\mpv" && cmd /k "updater.bat" && cmd /k "installer\mpv-install.bat"