commit d7c3d387b35c4f9adcf7f5c34e1fc23358f36a59
parent 372a281595cc6d3acdd54fb893009968e62b8df8
Author: Peter <peter@minskio.co.uk>
Date: Wed, 17 Jul 2019 11:39:32 +0100
Change to temp directory
Cleaner, not strictly necessary
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/5-install.bat b/5-install.bat
@@ -71,6 +71,7 @@ reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "Syncthing" /t R
rem add syncthing firewall rule
netsh advfirewall firewall add rule name="Syncthing" dir=in action=allow program="%programfiles%\Syncthing\syncthing.exe" enable=yes
rem install webp codec
+cd "%temp%"
@powershell Invoke-WebRequest https://storage.googleapis.com/downloads.webmproject.org/releases/webp/WebpCodecSetup.exe -OutFile WebpCodecSetup.exe
"%programfiles%\7-Zip\7z.exe" x %temp%\WebpCodecSetup.exe
ren %temp%\.rsrc\0\MSIFILE\1 1.msi && msiexec /i %temp%\.rsrc\0\MSIFILE\1.msi /quiet /qn /norestart