mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-03-09 01:56:21 -04:00
10 lines
679 B
PowerShell
10 lines
679 B
PowerShell
Write-Host "This script is currently being used by CI and will need some more work before anyone can use it like the 'setup-system.sh' script for macOS and Linux!"
|
|
|
|
$VCINSTALLDIR = $(& "${env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -latest -property installationPath)
|
|
Add-Content $env:GITHUB_ENV "LIBCLANG_PATH=${VCINSTALLDIR}\VC\Tools\LLVM\x64\bin`n"
|
|
Invoke-WebRequest "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z" -OutFile ffmpeg-release-full-shared.7z
|
|
7z x ffmpeg-release-full-shared.7z
|
|
mkdir ffmpeg
|
|
mv ffmpeg-*/* ffmpeg/
|
|
Add-Content $env:GITHUB_ENV "FFMPEG_DIR=${pwd}\ffmpeg`n"
|
|
Add-Content $env:GITHUB_PATH "${pwd}\ffmpeg\bin`n" |