mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-21 19:35:49 +08:00
7eaed96a85
- 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
29 lines
594 B
Batchfile
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 |