From e2602bae06ef06741a457e2d7a8314ca04ef14cf Mon Sep 17 00:00:00 2001 From: Issac Lin Date: Sun, 28 Nov 2021 14:36:10 +0800 Subject: [PATCH] ffmpeg: Remove .ps1 scripts after installation (#3014) --- bucket/ffmpeg-nightly-shared-vulkan.json | 4 ++++ bucket/ffmpeg-nightly-shared.json | 4 ++++ bucket/ffmpeg-nightly-vulkan.json | 4 ++++ bucket/ffmpeg-nightly.json | 4 ++++ bucket/ffmpeg-shared.json | 4 ++++ bucket/ffmpeg.json | 4 ++++ 6 files changed, 24 insertions(+) diff --git a/bucket/ffmpeg-nightly-shared-vulkan.json b/bucket/ffmpeg-nightly-shared-vulkan.json index 7282039e77..905ebd3c23 100644 --- a/bucket/ffmpeg-nightly-shared-vulkan.json +++ b/bucket/ffmpeg-nightly-shared-vulkan.json @@ -10,6 +10,10 @@ "extract_dir": "ffmpeg-N-101857-g0617e578a3-win64-gpl-shared-vulkan" } }, + "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\"" + ], "bin": [ "bin\\ffmpeg.exe", "bin\\ffplay.exe", diff --git a/bucket/ffmpeg-nightly-shared.json b/bucket/ffmpeg-nightly-shared.json index 1c25ae4a0b..91a6921f4b 100644 --- a/bucket/ffmpeg-nightly-shared.json +++ b/bucket/ffmpeg-nightly-shared.json @@ -10,6 +10,10 @@ "extract_dir": "ffmpeg-N-104667-gc90b3661fa-win64-gpl-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\"" + ], "bin": [ "bin\\ffmpeg.exe", "bin\\ffplay.exe", diff --git a/bucket/ffmpeg-nightly-vulkan.json b/bucket/ffmpeg-nightly-vulkan.json index e7976256e4..5f586ac4c5 100644 --- a/bucket/ffmpeg-nightly-vulkan.json +++ b/bucket/ffmpeg-nightly-vulkan.json @@ -10,6 +10,10 @@ "extract_dir": "ffmpeg-N-101857-g0617e578a3-win64-gpl-vulkan" } }, + "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\"" + ], "bin": [ "bin\\ffmpeg.exe", "bin\\ffplay.exe", diff --git a/bucket/ffmpeg-nightly.json b/bucket/ffmpeg-nightly.json index 04e9a88a8f..c9d3db36c5 100644 --- a/bucket/ffmpeg-nightly.json +++ b/bucket/ffmpeg-nightly.json @@ -10,6 +10,10 @@ "extract_dir": "ffmpeg-N-104667-gc90b3661fa-win64-gpl" } }, + "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\"" + ], "bin": [ "bin\\ffmpeg.exe", "bin\\ffplay.exe", diff --git a/bucket/ffmpeg-shared.json b/bucket/ffmpeg-shared.json index 256bd4487d..1037825d58 100644 --- a/bucket/ffmpeg-shared.json +++ b/bucket/ffmpeg-shared.json @@ -10,6 +10,10 @@ "extract_dir": "ffmpeg-n4.4.1-2-gcc33e73618-win64-gpl-shared-4.4" } }, + "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\"" + ], "bin": [ "bin\\ffmpeg.exe", "bin\\ffplay.exe", diff --git a/bucket/ffmpeg.json b/bucket/ffmpeg.json index f6257b7dbe..12620618af 100644 --- a/bucket/ffmpeg.json +++ b/bucket/ffmpeg.json @@ -10,6 +10,10 @@ "extract_dir": "ffmpeg-n4.4.1-2-gcc33e73618-win64-gpl-4.4" } }, + "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\"" + ], "bin": [ "bin\\ffmpeg.exe", "bin\\ffplay.exe",