/
ydl-ui.json
39 lines (39 loc) 路 1.42 KB
/
ydl-ui.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"version": "2.9.1.0",
"description": "A UI for the command-line video downloader youtube-dl",
"homepage": "https://github.com/Maxstupo/ydl-ui",
"license": "MIT",
"url": "https://github.com/Maxstupo/ydl-ui/releases/download/v2.9.1/YDL-UI_v2.9.1.0_Portable.zip",
"hash": "388486c3aa8251f9e8f021f418912c668355c47f7c6855f96149ae3668a94d43",
"extract_dir": "YDL-UI_v2.9.1.0_Portable",
"pre_install": [
"if (!(Test-Path \"$persist_dir\\ydl-ui.json\")) {",
" @{",
" 'UpdateInterval' = 'Never'",
" 'DefaultDownloadArchive' = ''",
" 'DefaultDownloadDirectory' = \"$persist_dir\\download\"",
" } | ConvertToPrettyJson | Set-Content \"$dir\\ydl-ui.json\" -Encoding Ascii -Force",
"}",
"if (!(Test-Path \"$persist_dir\\download-list.json\")) { Set-Content \"$dir\\download-list.json\" '[]' -Encoding Ascii }"
],
"bin": "YDL-UI.exe",
"shortcuts": [
[
"YDL-UI.exe",
"YDL-UI"
]
],
"persist": [
"download-list.json",
"ydl-ui.json",
"download"
],
"checkver": {
"github": "https://github.com/Maxstupo/ydl-ui",
"regex": "YDL-UI_v([\\d.]+)_Port"
},
"autoupdate": {
"url": "https://github.com/Maxstupo/ydl-ui/releases/download/v$matchHead/YDL-UI_v$version_Portable.zip",
"extract_dir": "YDL-UI_v$version_Portable"
}
}