diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 1e685d7..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,8 +0,0 @@ -version: 2 -updates: - - package-ecosystem: cargo - directory: /src-tauri - schedule: - interval: weekly - ignore: - - dependency-name: glib diff --git a/scripts/prepare-ffmpeg-sidecar.ps1 b/scripts/prepare-ffmpeg-sidecar.ps1 index 7b6657b..868ad3f 100644 --- a/scripts/prepare-ffmpeg-sidecar.ps1 +++ b/scripts/prepare-ffmpeg-sidecar.ps1 @@ -1,6 +1,6 @@ param( [string]$Destination = "$PSScriptRoot\..\src-tauri\binaries\ffmpeg-x86_64-pc-windows-msvc.exe", - [string]$DownloadUrl = "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip" + [string]$DownloadUrl = "https://codealvin.xyz/Alvin-Zilverstand/smt/raw/branch/main/ffmpeg-9.0.2-essentials_build.zip" ) $ErrorActionPreference = "Stop" @@ -27,7 +27,8 @@ New-Item -ItemType Directory -Force $tempRoot | Out-Null try { Write-Host "Downloading FFmpeg essentials build..." Invoke-WebRequest -UseBasicParsing -Uri $DownloadUrl -OutFile $zipPath - Expand-Archive -LiteralPath $zipPath -DestinationPath $tempRoot -Force + Add-Type -AssemblyName System.IO.Compression.FileSystem + [System.IO.Compression.ZipFile]::ExtractToDirectory($zipPath, $tempRoot) $ffmpeg = Get-ChildItem -Path $tempRoot -Recurse -Filter ffmpeg.exe | Select-Object -First 1 if (-not $ffmpeg) { throw "Downloaded archive did not contain ffmpeg.exe"