/
sumatrapdf-stable.json
43 lines (43 loc) · 1.35 KB
/
sumatrapdf-stable.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
{
"version": "3.5.2",
"description": "Free PDF, eBook reader.",
"homepage": "https://www.sumatrapdfreader.org",
"license": "GPL-3.0-only,BSD-2-Clause",
"architecture": {
"64bit": {
"url": "https://www.sumatrapdfreader.org/dl/rel/3.5.2/SumatraPDF-3.5.2-64.zip",
"hash": "66ccb395c9184dce6822dfbb9970c877383b3ead6d9417b5106a844aac512989"
}
},
"pre_install": [
"Get-Item \"$dir\\SumatraPDF*.exe\" | Rename-Item -NewName 'SumatraPDF.exe'",
"$file = 'SumatraPDF-settings.txt'",
"if (-not (Test-Path \"$persist_dir\\$file\")) {",
" Write-Host 'File' $file 'does not exists. Creating.' -f Yellow",
" $CONT = @('CheckForUpdates = false')",
" Set-Content \"$dir\\$file\" ($CONT -join \"`r`n\") -Encoding Ascii",
"}"
],
"bin": "SumatraPDF.exe",
"shortcuts": [
[
"SumatraPDF.exe",
"SumatraPDF"
]
],
"persist": [
"SumatraPDF-settings.txt",
"sumatrapdfcache"
],
"checkver": {
"github": "https://github.com/sumatrapdfreader/sumatrapdf",
"regex": "tag/([\\d.]+)rel"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://www.sumatrapdfreader.org/dl/rel/$version/SumatraPDF-$version-64.zip"
}
}
}
}