From 8d3039f35cca6c5621305e124689a65652644e3c Mon Sep 17 00:00:00 2001 From: pukkandan Date: Sun, 26 Jun 2022 20:01:37 +0530 Subject: [PATCH] yt-dlp: Persist configuration file (#3712) * yt-dlp: Remove vcredist dependency * yt-dlp: Persist yt-dlp.conf --- bucket/yt-dlp.json | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/bucket/yt-dlp.json b/bucket/yt-dlp.json index 24c5cecf58..f8ac5d3f7d 100644 --- a/bucket/yt-dlp.json +++ b/bucket/yt-dlp.json @@ -4,8 +4,7 @@ "homepage": "https://github.com/yt-dlp/yt-dlp", "license": "Unlicense", "suggest": { - "ffmpeg": "ffmpeg", - "vcredist": "extras/vcredist2010" + "ffmpeg": "ffmpeg" }, "architecture": { "64bit": { @@ -18,6 +17,12 @@ } }, "bin": "yt-dlp.exe", + "pre_install": [ + "$manifest.persist | ForEach-Object {", + " if (-not (Test-Path \"$persist_dir\\$_\")) { New-Item \"$dir\\$_\" -ItemType file | Out-Null }", + "}" + ], + "persist": "yt-dlp.conf", "checkver": "github", "autoupdate": { "architecture": {