generated from ScoopInstaller/BucketTemplate
/
eagle.json
46 lines (46 loc) · 1.69 KB
/
eagle.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
{
"autoupdate": {
"url": "https://$matchUrl#/installer.exe"
},
"bin": [
[
"Eagle.exe",
"Eagle",
"--user-data-dir=\"$dir\\User Data\""
]
],
"checkver": {
"jsonpath": "$.links.windows",
"regex": "//(?<url>eaglefile.oss-cn-shenzhen.aliyuncs.com/releases/Eagle-(?<ver>[\\d.]+)-build(?<build>\\d+)\\.exe)",
"replace": "${ver}.0.${build}",
"url": "https://en.eagle.cool/check-for-update"
},
"depends": "sudo",
"description": "Eagle helps you become a happier, better designer. A new way to collect, search and organize your image files in a logical way and all in one place.",
"hash": "3d1b294dca4822a6fe2f510b200ebf0080790f4b9064f3a8e6d0ec9dc98418e8",
"homepage": "https://en.eagle.cool/",
"installer": {
"script": "sudo Start-Process -Filepath \"$dir\\installer.exe\" -WorkingDirectory \"$dir\" -ArgumentList \"/S /D=$dir\" -Wait"
},
"license": {
"identifier": "Shareware",
"url": "https://en.eagle.cool/privacy"
},
"persist": "User Data",
"post_install": [
"sudo Remove-Item -path \"$dir\\installer.exe\" -Force",
"if (!(Test-Path \"$dir\\User Data\\*\") -and (Test-Path \"$env:AppData\\Eagle\")) {",
" info '[Portable Mode]: Copying user data...'",
" Copy-Item \"$env:AppData\\Eagle\\*\" \"$dir\\User Data\" -Recurse",
"}"
],
"shortcuts": [
[
"Eagle.exe",
"Eagle",
"--user-data-dir=\"$dir\\User Data\""
]
],
"url": "https://eaglefile.oss-cn-shenzhen.aliyuncs.com/releases/Eagle-3.0-build38.exe#/installer.exe",
"version": "3.0.0.38"
}