generated from ScoopInstaller/BucketTemplate
/
inkscape.json
executable file
·57 lines (57 loc) · 2.41 KB
/
inkscape.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
{
"version": "1.2.1_2022-07-14",
"description": "Professional vector graphics editor",
"homepage": "https://inkscape.org",
"license": "GPL-3.0-or-later",
"architecture": {
"64bit": {
"url": "https://media.inkscape.org/dl/resources/file/inkscape-1.2.1_2022-07-14_9c6d41e410-x64.7z",
"hash": "6a964aee3b411303a192d57e620f7f25d8a9b60758fc7d7ab6744393a3172eb9",
"extract_dir": "inkscape-1.2.1_2022-07-14_9c6d41e410-x64"
},
"32bit": {
"url": "https://media.inkscape.org/dl/resources/file/inkscape-1.2.1_2022-07-14_9c6d41e410-x86.7z",
"hash": "dd24ccc13dd5cc266fe9fa941b68afa91d4ab90852379cbdc7f7243f3f2700df",
"extract_dir": "inkscape-1.2.1_2022-07-14_9c6d41e410-x86"
}
},
"bin": [
"bin\\inkscape.com",
"bin\\inkview.com"
],
"shortcuts": [
[
"bin\\inkscape.exe",
"Inkscape"
]
],
"checkver": {
"script": [
"$redirUrl = [System.Net.HttpWebRequest]::Create('https://inkscape.org/en/release').GetResponse().ResponseUri.AbsoluteUri",
"$test_dl = Invoke-WebRequest ($redirUrl + '/windows/64-bit/compressed-7z/dl/') -UseBasicParsing",
"$filename = ($test_dl.links | Where-Object href -match '\\.7z$' | Select-Object -first 1 -expand href) -split '/' | Select-Object -last 1",
"$clean_filename = $filename -replace '-(x86|x64)_\\w+\\.7z$'",
"$ink_version = $clean_filename -replace '^inkscape-([0-9_\\-.]+)_\\w+$','$1'",
"Write-Output $ink_version $clean_filename"
],
"regex": "(?<version>.+)\\s(?<cleanfilename>.+)"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://media.inkscape.org/dl/resources/file/$matchCleanfilename-x64.7z",
"extract_dir": "$matchCleanfilename-x64",
"hash": {
"url": "https://media.inkscape.org/media/resources/sigs/$matchCleanfilename-x64.7z.sha256"
}
},
"32bit": {
"url": "https://media.inkscape.org/dl/resources/file/$matchCleanfilename-x86.7z",
"extract_dir": "$matchCleanfilename-x86",
"hash": {
"url": "https://media.inkscape.org/media/resources/sigs/$matchCleanfilename-x86.7z.sha256"
}
}
}
}
}