diff --git a/bucket/ffmpeg-shared.json b/bucket/ffmpeg-shared.json index 19ce1cbc3f..5eb719c34d 100644 --- a/bucket/ffmpeg-shared.json +++ b/bucket/ffmpeg-shared.json @@ -10,16 +10,11 @@ "extract_dir": "ffmpeg-8.0.1-full_build-shared" } }, - "post_install": [ - "# Workaround for https://github.com/ScoopInstaller/Main/issues/2611", - "Remove-Item \"$scoopdir\\shims\\ffmpeg.ps1\", \"$scoopdir\\shims\\ffplay.ps1\", \"$scoopdir\\shims\\ffprobe.ps1\" -ErrorAction SilentlyContinue" - ], "persist": "fonts", - "bin": [ - "bin\\ffmpeg.exe", - "bin\\ffplay.exe", - "bin\\ffprobe.exe" - ], + "env_set": { + "FFMPEG_DIR": "$dir" + }, + "env_add_path": "bin", "checkver": { "url": "https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z.ver", "regex": "([\\d.]+)"