-
Notifications
You must be signed in to change notification settings - Fork 1.4k
/
handbrake.json
52 lines (52 loc) · 1.78 KB
/
handbrake.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
52
{
"version": "1.8.2",
"description": "A tool for converting video from nearly any format to a selection of modern, widely supported codecs.",
"homepage": "https://handbrake.fr",
"license": "GPL-2.0-only",
"suggest": {
".NET Desktop Runtime": "extras/windowsdesktop-runtime-lts"
},
"architecture": {
"64bit": {
"url": "https://github.com/HandBrake/HandBrake/releases/download/1.8.2/HandBrake-1.8.2-x86_64-Win_GUI.zip",
"hash": "9cc3b545ec35c5a882e02a3f5e54d634eda7e8ab73f69c436b608dafaf883c5c"
}
},
"extract_dir": "HandBrake",
"installer": {
"script": [
"if (!(Test-Path \"$persist_dir\\portable.ini\")) {",
" if (!(Test-Path \"$persist_dir\\storage\") -And (Test-Path \"$env:APPDATA\\HandBrake\")) {",
" New-Item \"$persist_dir\" -ItemType Directory -ErrorAction SilentlyContinue | Out-Null",
" Move-Item -Path \"$env:APPDATA\\HandBrake\" -Destination \"$persist_dir\\storage\" -Force",
" }",
" Copy-Item \"$dir\\portable.ini.template\" \"$dir\\portable.ini\" -Force",
"}"
]
},
"persist": [
"portable.ini",
"storage",
"tmp"
],
"shortcuts": [
[
"HandBrake.exe",
"HandBrake"
]
],
"checkver": {
"github": "https://github.com/HandBrake/HandBrake"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/HandBrake/HandBrake/releases/download/$version/HandBrake-$version-x86_64-Win_GUI.zip"
}
},
"hash": {
"url": "https://handbrake.fr/rotation.php?file=$basename",
"regex": "<td>$sha256</td>"
}
}
}