Skip to content

Commit e8c7114

Browse files
Consolidate CascadiaCode, CascadiaCodePL, CascadiaMono, and CascadiaMonoPL into one manifest. Closes #74.
1 parent cd5b199 commit e8c7114

4 files changed

Lines changed: 6 additions & 96 deletions

File tree

bucket/Cascadia-Code.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
{
2-
"version": "1911.21",
2+
"version": "2005.15",
33
"license": "OFL-1.1",
44
"homepage": "https://github.com/microsoft/cascadia-code",
5-
"url": "https://github.com/microsoft/cascadia-code/releases/download/v1911.21/Cascadia.ttf",
6-
"hash": "cf5b69933c568eac4231303a952ce57c1581dac10c6e73c70b763cf9ecaabed4",
5+
"url": "https://github.com/microsoft/cascadia-code/releases/download/v2005.15/CascadiaCode_2005.15.zip",
6+
"hash": "b3d8495e9cdee90d0dbaf60b7db018413e130265dc27e2be7a8db04cf98fddce",
77
"checkver": "github",
88
"autoupdate": {
9-
"url": "https://github.com/microsoft/cascadia-code/releases/download/v$version/Cascadia.ttf"
9+
"url": "https://github.com/microsoft/cascadia-code/releases/download/v$version/CascadiaCode_$version.zip"
1010
},
1111
"installer": {
1212
"script": [
1313
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop install $app'\"; exit 1 }",
14-
"Get-ChildItem $dir -filter '*.ttf' | ForEach-Object {",
14+
"Get-ChildItem \"$dir\\ttf\" -filter '*.ttf' | ForEach-Object {",
1515
" New-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Fonts' -Name $_.Name.Replace($_.Extension, ' (TrueType)') -Value $_.Name -Force | Out-Null",
1616
" Copy-Item $_.FullName -destination \"$env:windir\\Fonts\"",
1717
"}"
@@ -20,7 +20,7 @@
2020
"uninstaller": {
2121
"script": [
2222
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop uninstall $app'\"; exit 1 }",
23-
"Get-ChildItem $dir -filter '*.ttf' | ForEach-Object {",
23+
"Get-ChildItem \"$dir\\ttf\" -filter '*.ttf' | ForEach-Object {",
2424
" Remove-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Fonts' -Name $_.Name.Replace($_.Extension, ' (TrueType)') -Force -ErrorAction SilentlyContinue",
2525
" Remove-Item \"$env:windir\\Fonts\\$($_.Name)\" -Force -ErrorAction SilentlyContinue",
2626
"}",

bucket/Cascadia-Mono.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

bucket/Cascadia-MonoPL.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

bucket/Cascadia-PL.json

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)