/
PeaZip.json
58 lines (58 loc) · 2.3 KB
/
PeaZip.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
53
54
55
56
57
58
{
"version": "9.7.1",
"description": "一个基于开放源码技术的免费文件归档(压缩)实用程序。A free file archiver utility, based on Open Source technologies.",
"homepage": "https://peazip.github.io",
"license": {
"identifier": "GNU Lesser General Public License v3.0",
"url": "https://github.com/peazip/PeaZip/blob/sources/LICENSE"
},
"architecture": {
"64bit": {
"url": "https://github.com/peazip/PeaZip/releases/download/9.7.1/peazip_portable-9.7.1.WIN64.zip",
"hash": "1baaae2c19f8c64a22ccb32603a82b56bcec5fc6c7327a8e6378e2635d3f5329",
"extract_dir": "peazip_portable-9.7.1.WIN64"
},
"32bit": {
"url": "https://github.com/peazip/PeaZip/releases/download/9.7.1/peazip_portable-9.7.1.WINDOWS.zip",
"hash": "e3b11b9583eea7fa4fcd590371e0c4dc4263d6e4374c555dfb929a3bfabc9d2b",
"extract_dir": "peazip_portable-9.7.1.WINDOWS"
}
},
"bin": "peazip.exe",
"shortcuts": [
[
"peazip.exe",
"PeaZip"
]
],
"pre_install": [
". \"$bucketsdir\\$bucket\\bin\\utils.ps1\"",
"persist -dir @(\"$dir\\res\\conf\") @(\"$persist_dir\\res\\conf\")",
"create_app_lnk \"$dir\\peazip.exe\" \"$desktop\\PeaZip.lnk\""
],
"pre_uninstall": [
"$bucket=(scoop bucket list | where-Object { $_.Source -match '(gitee|github).com/abgox/abgo_bucket'})[0].Name",
". \"$bucketsdir\\$bucket\\bin\\utils.ps1\"",
"stop_process",
"remove_files @(\"$desktop\\PeaZip.lnk\")"
],
"checkver": {
"github": "https://github.com/peazip/PeaZip"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/peazip/PeaZip/releases/download/$version/peazip_portable-$version.WIN64.zip",
"extract_dir": "peazip_portable-$version.WIN64"
},
"32bit": {
"url": "https://github.com/peazip/PeaZip/releases/download/$version/peazip_portable-$version.WINDOWS.zip",
"extract_dir": "peazip_portable-$version.WINDOWS"
}
},
"hash": {
"url": "https://peazip.github.io/changelog.html",
"regex": "$sha256.*\\s+$basename"
}
}
}