Skip to content

Commit

Permalink
Merge pull request #89 from vig42/master
Browse files Browse the repository at this point in the history
Separate fixed and double-width versions of Nerd Fonts
  • Loading branch information
matthewjberger authored Sep 7, 2020
2 parents 75746c9 + 5695065 commit 6fe7b0c
Show file tree
Hide file tree
Showing 108 changed files with 1,779 additions and 108 deletions.
31 changes: 31 additions & 0 deletions bucket/3270-NF-Mono.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": "2.1.0",
"license": "MIT",
"homepage": "https://github.com/ryanoasis/nerd-fonts",
"url": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/3270.zip",
"hash": "b39bb03a46bf51cacf094a53d9f07c090ede4571efa2c24600c66a25a3fee1cc",
"checkver": "github",
"depends": "sudo",
"autoupdate": {
"url": "https://github.com/ryanoasis/nerd-fonts/releases/download/v$version/3270.zip"
},
"installer": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop install $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Mono Windows Compatible.*' | 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\"",
"}"
]
},
"uninstaller": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop uninstall $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Mono Windows Compatible.*' | 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",
"}",
"Write-Host \"The '$($app.Replace('-NF', ''))' Font family has been uninstalled and will not be present after restarting your computer.\" -Foreground Magenta"
]
}
}
4 changes: 2 additions & 2 deletions bucket/3270-NF.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"installer": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop install $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Windows Compatible.*' | ForEach-Object {",
"Get-ChildItem $dir -filter '*Complete Windows Compatible.*' | 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 @@ -21,7 +21,7 @@
"uninstaller": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop uninstall $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Windows Compatible.*' | ForEach-Object {",
"Get-ChildItem $dir -filter '*Complete Windows Compatible.*' | 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
31 changes: 31 additions & 0 deletions bucket/Agave-NF-Mono.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": "2.1.0",
"license": "MIT",
"homepage": "https://github.com/ryanoasis/nerd-fonts",
"url": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Agave.zip",
"hash": "0a6a5f056553cd8fa0c95dc57b0cdf027ff2f49016d0c470386bb2ba7918f549",
"checkver": "github",
"depends": "sudo",
"autoupdate": {
"url": "https://github.com/ryanoasis/nerd-fonts/releases/download/v$version/Agave.zip"
},
"installer": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop install $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Mono Windows Compatible.*' | 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\"",
"}"
]
},
"uninstaller": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop uninstall $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Mono Windows Compatible.*' | 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",
"}",
"Write-Host \"The '$($app.Replace('-NF', ''))' Font family has been uninstalled and will not be present after restarting your computer.\" -Foreground Magenta"
]
}
}
4 changes: 2 additions & 2 deletions bucket/Agave-NF.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"installer": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop install $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Windows Compatible.*' | ForEach-Object {",
"Get-ChildItem $dir -filter '*Complete Windows Compatible.*' | 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 @@ -21,7 +21,7 @@
"uninstaller": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop uninstall $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Windows Compatible.*' | ForEach-Object {",
"Get-ChildItem $dir -filter '*Complete Windows Compatible.*' | 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
31 changes: 31 additions & 0 deletions bucket/AnonymousPro-NF-Mono.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": "2.1.0",
"license": "MIT",
"homepage": "https://github.com/ryanoasis/nerd-fonts",
"url": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/AnonymousPro.zip",
"hash": "b51b3dd9aa5bcf061240d8dfcc203e78b085eeb97a76d91f6ad8cd9473467668",
"checkver": "github",
"depends": "sudo",
"autoupdate": {
"url": "https://github.com/ryanoasis/nerd-fonts/releases/download/v$version/AnonymousPro.zip"
},
"installer": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop install $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Mono Windows Compatible.*' | 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\"",
"}"
]
},
"uninstaller": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop uninstall $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Mono Windows Compatible.*' | 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",
"}",
"Write-Host \"The '$($app.Replace('-NF', ''))' Font family has been uninstalled and will not be present after restarting your computer.\" -Foreground Magenta"
]
}
}
4 changes: 2 additions & 2 deletions bucket/AnonymousPro-NF.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"installer": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop install $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Windows Compatible.*' | ForEach-Object {",
"Get-ChildItem $dir -filter '*Complete Windows Compatible.*' | 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 @@ -21,7 +21,7 @@
"uninstaller": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop uninstall $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Windows Compatible.*' | ForEach-Object {",
"Get-ChildItem $dir -filter '*Complete Windows Compatible.*' | 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
31 changes: 31 additions & 0 deletions bucket/Arimo-NF-Mono.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": "2.1.0",
"license": "MIT",
"homepage": "https://github.com/ryanoasis/nerd-fonts",
"url": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Arimo.zip",
"hash": "683a1b4f33dcf20d6ceee89161786b1684a22bc7296efd5fd4c9d766ba6bf4cc",
"checkver": "github",
"depends": "sudo",
"autoupdate": {
"url": "https://github.com/ryanoasis/nerd-fonts/releases/download/v$version/Arimo.zip"
},
"installer": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop install $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Mono Windows Compatible.*' | 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\"",
"}"
]
},
"uninstaller": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop uninstall $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Mono Windows Compatible.*' | 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",
"}",
"Write-Host \"The '$($app.Replace('-NF', ''))' Font family has been uninstalled and will not be present after restarting your computer.\" -Foreground Magenta"
]
}
}
4 changes: 2 additions & 2 deletions bucket/Arimo-NF.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"installer": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop install $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Windows Compatible.*' | ForEach-Object {",
"Get-ChildItem $dir -filter '*Complete Windows Compatible.*' | 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 @@ -21,7 +21,7 @@
"uninstaller": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop uninstall $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Windows Compatible.*' | ForEach-Object {",
"Get-ChildItem $dir -filter '*Complete Windows Compatible.*' | 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
31 changes: 31 additions & 0 deletions bucket/AurulentSansMono-NF-Mono.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": "2.1.0",
"license": "MIT",
"homepage": "https://github.com/ryanoasis/nerd-fonts",
"url": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/AurulentSansMono.zip",
"hash": "5f318ab83d3b53ddcdd73739e2c522661d5dacd348abedde611845d510496560",
"checkver": "github",
"depends": "sudo",
"autoupdate": {
"url": "https://github.com/ryanoasis/nerd-fonts/releases/download/v$version/AurulentSansMono.zip"
},
"installer": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop install $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Mono Windows Compatible.*' | 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\"",
"}"
]
},
"uninstaller": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop uninstall $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Mono Windows Compatible.*' | 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",
"}",
"Write-Host \"The '$($app.Replace('-NF', ''))' Font family has been uninstalled and will not be present after restarting your computer.\" -Foreground Magenta"
]
}
}
4 changes: 2 additions & 2 deletions bucket/AurulentSansMono-NF.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"installer": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop install $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Windows Compatible.*' | ForEach-Object {",
"Get-ChildItem $dir -filter '*Complete Windows Compatible.*' | 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 @@ -21,7 +21,7 @@
"uninstaller": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop uninstall $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Windows Compatible.*' | ForEach-Object {",
"Get-ChildItem $dir -filter '*Complete Windows Compatible.*' | 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
31 changes: 31 additions & 0 deletions bucket/BigBlueTerminal-NF-Mono.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": "2.1.0",
"license": "MIT",
"homepage": "https://github.com/ryanoasis/nerd-fonts",
"url": "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/BigBlueTerminal.zip",
"hash": "5b34861f23af88a66f1c77e0d382128e71168dd05ca553f33aa76bd94515bc7a",
"checkver": "github",
"depends": "sudo",
"autoupdate": {
"url": "https://github.com/ryanoasis/nerd-fonts/releases/download/v$version/BigBlueTerminal.zip"
},
"installer": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop install $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Mono Windows Compatible.*' | 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\"",
"}"
]
},
"uninstaller": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop uninstall $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Mono Windows Compatible.*' | 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",
"}",
"Write-Host \"The '$($app.Replace('-NF', ''))' Font family has been uninstalled and will not be present after restarting your computer.\" -Foreground Magenta"
]
}
}
4 changes: 2 additions & 2 deletions bucket/BigBlueTerminal-NF.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"installer": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop install $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Windows Compatible.*' | ForEach-Object {",
"Get-ChildItem $dir -filter '*Complete Windows Compatible.*' | 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 @@ -21,7 +21,7 @@
"uninstaller": {
"script": [
"if(!(is_admin)) { error \"Admin rights are required, please run 'sudo scoop uninstall $app'\"; exit 1 }",
"Get-ChildItem $dir -filter '*Windows Compatible.*' | ForEach-Object {",
"Get-ChildItem $dir -filter '*Complete Windows Compatible.*' | 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
Loading

0 comments on commit 6fe7b0c

Please sign in to comment.