/
foxmail.json
34 lines (34 loc) · 1.14 KB
/
foxmail.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
{
"version": "7.2.25.254",
"homepage": "https://www.foxmail.com/",
"description": "Foxmail like you've never seen it before.",
"url": "https://dldir1.qq.com/foxmail/windows/FoxmailSetup_7.2.25.254.exe#/dl.7z",
"hash": "ca5bb786852825738a99f62a5572f1204b23d1c862314d3b2e1fa73c4a37ced1",
"pre_install": [
"$file = 'FMStorage.list'",
"if (!(Test-Path \"$persist_dir\\$file\")) {",
" Write-Host 'File' $file 'does not exists. Creating.' -f Yellow",
" $CONT = @('')",
" Set-Content \"$dir\\$file\" ($CONT -join \"`r`n\") -Encoding Ascii",
"}"
],
"post_install": "Remove-Item \"$dir\\`$PLUGINSDIR\" -Recurse",
"shortcuts": [
[
"Foxmail.exe",
"Foxmail"
]
],
"persist": [
"Storage",
"Global",
"FMStorage.list"
],
"checkver": {
"url": "https://raw.githubusercontent.com/kkzzhizhou/scoop-zapps/master/versions/Foxmail.latest",
"regex": "FoxmailSetup_([\\d.]+).exe"
},
"autoupdate": {
"url": "https://dldir1.qq.com/foxmail/windows/FoxmailSetup_$version.exe#/dl.7z"
}
}