/
font-source-han-sans.json
29 lines (29 loc) · 1.08 KB
/
font-source-han-sans.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
{
"version": "2.004R",
"description": "Pan-CJK font",
"homepage": "https://github.com/adobe-fonts/source-han-sans",
"license": "OFL-1.1-RFN",
"url": "https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSans.ttc.zip",
"hash": "6f59118a9adda5a7fe4e9e6bb538309f7e1d3c5411f9a9d32af32a79501b7e4f",
"depends": ["sudo", "unoun/scoop-helper"],
"installer": {
"script": [
"$helper = \"$(appdir scoop-helper)\\current\\scoop-font-helper.ps1\"",
"if (!(Test-Path $helper)) { error 'File not found'; exit 1 }",
". $helper",
"Install-Font($dir)"
]
},
"uninstaller": {
"script": [
"$helper = \"$(appdir scoop-helper)\\current\\scoop-font-helper.ps1\"",
"if (!(Test-Path $helper)) { error 'File not found'; exit 1 }",
". $helper",
"Uninstall-Font($dir)"
]
},
"checkver": {
"url": "https://github.com/adobe-fonts/source-han-sans/releases/latest",
"regex": "/releases/tag/(?:v|V)?([\\d.R]+)"
}
}