mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-05 08:11:20 +00:00
yt-dlp: Persist "ytdlp_plugins" directory (#3956)
* yt-dlp: Persist "ytdlp_plugins" directory * yt-dlp: Fix json formatting Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com> Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
This commit is contained in:
parent
f9ecc9cfe0
commit
fe58c343f7
@ -17,12 +17,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bin": "yt-dlp.exe",
|
"bin": "yt-dlp.exe",
|
||||||
"pre_install": [
|
"pre_install": "if (-not (Test-Path \"$persist_dir\\yt-dlp.conf\")) { New-Item \"$dir\\yt-dlp.conf\" -ItemType file | Out-Null }",
|
||||||
"$manifest.persist | ForEach-Object {",
|
"persist": [
|
||||||
" if (-not (Test-Path \"$persist_dir\\$_\")) { New-Item \"$dir\\$_\" -ItemType file | Out-Null }",
|
"yt-dlp.conf",
|
||||||
"}"
|
"ytdlp_plugins"
|
||||||
],
|
],
|
||||||
"persist": "yt-dlp.conf",
|
|
||||||
"checkver": "github",
|
"checkver": "github",
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"architecture": {
|
"architecture": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user