generated from Ash258/GenericBucket
-
Notifications
You must be signed in to change notification settings - Fork 2
/
jpegview-fork.json
41 lines (41 loc) · 1.43 KB
/
jpegview-fork.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
{
"version": "1.3.46",
"description": "The semi-official re-release of JPEGView, Fast and highly configurable image viewer/editor with a minimal GUI.",
"homepage": "https://github.com/sylikc/jpegview",
"license": "GPL-2.0-only",
"url": "https://github.com/sylikc/jpegview/releases/download/v1.3.46/JPEGView_1.3.46.7z",
"hash": "f8bea0cec1f3430b4eb37f2dfe3190324bf6e353b5bd65ec5a34b40b4a9a43a9",
"architecture": {
"64bit": {
"extract_dir": "JPEGView64"
},
"32bit": {
"extract_dir": "JPEGView32"
}
},
"pre_install": [
"if (!(Test-Path \"$persist_dir\\JPEGView.ini\")) {",
"$cont = (Get-Content \"$dir\\JPEGView.ini\").Replace('StoreToEXEPath=false', 'StoreToEXEPath=true')",
"Set-Content \"$dir\\JPEGView.ini\" $cont",
"}",
"if (Test-Path \"$persist_dir\\ParamDB.db\") { Copy-Item \"$persist_dir\\ParamDB.db\" \"$dir\" | Out-Null }"
],
"uninstaller": {
"script": "if (Test-Path \"$dir\\ParamDB.db\") { Copy-Item \"$dir\\ParamDB.db\" \"$persist_dir\" | Out-Null }"
},
"bin": "JPEGView.exe",
"shortcuts": [
[
"JPEGView.exe",
"JPEGView"
]
],
"checkver": "github",
"persist": [
"JPEGView.ini",
"KeyMap.txt"
],
"autoupdate": {
"url": "https://github.com/sylikc/jpegview/releases/download/v$version/JPEGView_$version.7z"
}
}