yt-dlp: Persist configuration file (#3712)

* yt-dlp: Remove vcredist dependency

* yt-dlp: Persist yt-dlp.conf
This commit is contained in:
pukkandan 2022-06-26 20:01:37 +05:30 committed by GitHub
parent 7ed0dab121
commit 8d3039f35c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,8 +4,7 @@
"homepage": "https://github.com/yt-dlp/yt-dlp", "homepage": "https://github.com/yt-dlp/yt-dlp",
"license": "Unlicense", "license": "Unlicense",
"suggest": { "suggest": {
"ffmpeg": "ffmpeg", "ffmpeg": "ffmpeg"
"vcredist": "extras/vcredist2010"
}, },
"architecture": { "architecture": {
"64bit": { "64bit": {
@ -18,6 +17,12 @@
} }
}, },
"bin": "yt-dlp.exe", "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", "checkver": "github",
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {