From b80d426a4e02a4affe061fca3ff91916de4ee9ba Mon Sep 17 00:00:00 2001 From: MiyakoMeow <110924386+MiyakoMeow@users.noreply.github.com> Date: Thu, 1 Jan 2026 16:33:10 +0800 Subject: [PATCH] ffmpeg-shared: set environment for developer (#7464) * ffmpeg-shared: set environment for developer * fix: rm shims --- bucket/ffmpeg-shared.json | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) 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.]+)"