Files
iDescriptor/install-win-fsp.silent.bat
T
uncor3 7eaed96a85 copy just enough gstreamer plugins and handle deps for Windows build
- Added custom command to copy libZUpdater.dll for deployment
- Updated win-deploy.cmake to copy specific GStreamer plugins
- Introduced install scripts for Apple drivers and WinFsp
- Improved DiagnoseWidget UI with scroll area and process indicators
- Adjusted WelcomeWidget to include DiagnoseWidget on non-Apple platforms
2025-11-02 11:39:17 -08:00

29 lines
594 B
Batchfile

@echo off
setlocal enabledelayedexpansion
net session >nul 2>&1
if %errorlevel% neq 0 (
exit /b 1
)
echo Installing WinFsp...
set "DOWNLOAD_URL=https://github.com/winfsp/winfsp/releases/download/v2.1/winfsp-2.1.25156.msi"
set "CACHE_DIR=%TEMP%\winfsp-install"
set "MSI_FILE=%CACHE_DIR%\winfsp-2.1.25156.msi"
if not exist "%CACHE_DIR%" mkdir "%CACHE_DIR%"
curl -L -o "%MSI_FILE%" "%DOWNLOAD_URL%"
if %errorlevel% neq 0 (
exit /b 1
)
msiexec /i "%MSI_FILE%" /quiet /norestart
if %errorlevel% neq 0 (
rmdir /s /q "%CACHE_DIR%"
exit /b 1
)
rmdir /s /q "%CACHE_DIR%"
exit /b 0