/
vlc.json
51 lines (51 loc) 路 1.91 KB
/
vlc.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
40
41
42
43
44
45
46
47
48
49
50
51
{
"version": "3.0.20",
"description": "A free and open source cross-platform multimedia player and framework that plays most multimedia files as well as DVDs, Audio CDs, VCDs, and various streaming protocols.",
"homepage": "https://www.videolan.org/",
"license": "GPL-2.0-only",
"architecture": {
"64bit": {
"url": "https://download.videolan.org/pub/vlc/3.0.20/win64/vlc-3.0.20-win64.7z",
"hash": "1e1a388c7e6166739422143592ef71540dda7efeeb3ff2d041619c10e244b902"
},
"32bit": {
"url": "https://download.videolan.org/pub/vlc/3.0.20/win32/vlc-3.0.20-win32.7z",
"hash": "42020ebd14ca126532220dd7367660df976bec6e8a3a2cba04a0f1c37fd14f8f"
}
},
"extract_dir": "vlc-3.0.20",
"pre_install": [
"if (!(Test-Path \"$persist_dir\\portable\") -and (Test-Path \"$env:APPDATA\\vlc\")) {",
" info \"Copying old '$env:APPDATA\\vlc' to '$persist_dir\\portable'\"",
" ensure \"$dir\\portable\\vlc\" | Out-Null",
" Copy-Item \"$env:APPDATA\\vlc\\*\" \"$dir\\portable\" -Recurse -Force",
" Move-Item \"$dir\\portable\\vlc-qt-interface.ini\" \"$dir\\portable\\vlc\"",
"}"
],
"bin": "vlc.exe",
"shortcuts": [
[
"vlc.exe",
"VLC media player"
]
],
"persist": "portable",
"checkver": {
"url": "https://www.videolan.org/vlc/download-windows.html",
"regex": "\\s+([\\d.]+)</span>"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://download.videolan.org/pub/vlc/$version/win64/vlc-$version-win64.7z"
},
"32bit": {
"url": "https://download.videolan.org/pub/vlc/$version/win32/vlc-$version-win32.7z"
}
},
"hash": {
"url": "$url.sha256"
},
"extract_dir": "vlc-$version"
}
}