generated from ScoopInstaller/BucketTemplate
/
zim.json
40 lines (40 loc) · 1.23 KB
/
zim.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
{
"version": "0.75.2",
"description": "Zim is a graphical text editor used to maintain a collection of wiki pages.",
"homepage": "https://zim-wiki.org/",
"license": "GPL-2.0-only",
"architecture": {
"64bit": {
"url": "https://zim-wiki.org/downloads/zim-desktop-wiki-0.75.2-setup-w64_x86.exe#/dl.7z",
"hash": "c2dd24f24ef8cab3e4e813d89a0a33e64ea4378d3c23382650a6e33bd2186268"
}
},
"pre_install": "Remove-Item \"$dir\\`$*\", \"$dir\\uninstall.exe\" -Force -Recurse",
"post_install": [
"$content = Get-Content \"$dir\\environ.ini\"",
"$content = $content.Replace('HOME=../', \"HOME=$env:USERPROFILE\")",
"Set-Content \"$dir\\environ.ini\" $content -Encoding Ascii"
],
"shortcuts": [
[
"zim.exe",
"Zim"
]
],
"persist": [
"cache\\zim",
"config",
"data"
],
"checkver": {
"url": "https://zim-wiki.org/downloads.html",
"regex": "Latest release: ([\\d.]+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://zim-wiki.org/downloads/zim-desktop-wiki-$version-setup-w64_x86.exe#/dl.7z"
}
}
}
}