Skip to content

Commit

Permalink
Consolidate CascadiaCode, CascadiaCodePL, CascadiaMono, and CascadiaM…
Browse files Browse the repository at this point in the history
…onoPL into one manifest. Closes #74.
  • Loading branch information
matthewjberger committed May 22, 2020
1 parent cd5b199 commit e8c7114
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 96 deletions.
12 changes: 6 additions & 6 deletions bucket/Cascadia-Code.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"version": "1911.21",
"version": "2005.15",
"license": "OFL-1.1",
"homepage": "https://github.com/microsoft/cascadia-code",
"url": "https://github.com/microsoft/cascadia-code/releases/download/v1911.21/Cascadia.ttf",
"hash": "cf5b69933c568eac4231303a952ce57c1581dac10c6e73c70b763cf9ecaabed4",
"url": "https://github.com/microsoft/cascadia-code/releases/download/v2005.15/CascadiaCode_2005.15.zip",
"hash": "b3d8495e9cdee90d0dbaf60b7db018413e130265dc27e2be7a8db04cf98fddce",
"checkver": "github",
"autoupdate": {
"url": "https://github.com/microsoft/cascadia-code/releases/download/v$version/Cascadia.ttf"
"url": "https://github.com/microsoft/cascadia-code/releases/download/v$version/CascadiaCode_$version.zip"
},
"installer": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop install $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*.ttf' | ForEach-Object {",
"Get-ChildItem \"$dir\\ttf\" -filter '*.ttf' | ForEach-Object {",
" New-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Fonts' -Name $_.Name.Replace($_.Extension, ' (TrueType)') -Value $_.Name -Force | Out-Null",
" Copy-Item $_.FullName -destination \"$env:windir\\Fonts\"",
"}"
Expand All @@ -20,7 +20,7 @@
"uninstaller": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop uninstall $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*.ttf' | ForEach-Object {",
"Get-ChildItem \"$dir\\ttf\" -filter '*.ttf' | ForEach-Object {",
" Remove-ItemProperty -Path 'HKLM:\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Fonts' -Name $_.Name.Replace($_.Extension, ' (TrueType)') -Force -ErrorAction SilentlyContinue",
" Remove-Item \"$env:windir\\Fonts\\$($_.Name)\" -Force -ErrorAction SilentlyContinue",
"}",
Expand Down
30 changes: 0 additions & 30 deletions bucket/Cascadia-Mono.json

This file was deleted.

30 changes: 0 additions & 30 deletions bucket/Cascadia-MonoPL.json

This file was deleted.

30 changes: 0 additions & 30 deletions bucket/Cascadia-PL.json

This file was deleted.

0 comments on commit e8c7114

Please sign in to comment.