Skip to content

Commit

Permalink
Merge pull request #17 from sumo300/missing-fonts
Browse files Browse the repository at this point in the history
Missing fonts
  • Loading branch information
sumo300 authored May 23, 2024
2 parents 2c9451f + 349024e commit 704a0ed
Show file tree
Hide file tree
Showing 78 changed files with 1,384 additions and 0 deletions.
1 change: 1 addition & 0 deletions nerd-fonts-0xProto/FONT-README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# 0xProto
5 changes: 5 additions & 0 deletions nerd-fonts-0xProto/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Nerd Fonts

Nerd Fonts is a project that patches developer targeted fonts with a high number of glyphs (icons).

[README for this font](./FONT-README.md)
31 changes: 31 additions & 0 deletions nerd-fonts-0xProto/nerd-fonts-0xProto.nuspec

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions nerd-fonts-0xProto/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
$ErrorActionPreference = 'Stop'

$packageName = $env:ChocolateyPackageName
$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition

$packageArgs = @{
softwareName = $packageName
packageName = $packageName
unzipLocation = $toolsDir
url = 'https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/0xProto.zip'
checksumType = 'sha256'
checksum = '103F8DFF0B6C06687A08CBE91BD446E03935AC6DBC0BA6F426967B45E3EDD3B6'
}

Install-ChocolateyZipPackage @packageArgs

# Install all OpenType Fonts in package
Push-Location $toolsDir

# Get list of all Windows Compatible OpenType Fonts in package
$fontList = Get-ChildItem "*Windows Compatible*.otf"

if ($fontList.Count -le 0) {
# Get list of all OpenType Fonts in package
$fontList = Get-ChildItem *.otf
}

# Use the TrueType fonts only if the OpenType files are missing
if ($fontList.Count -le 0) {
# Get list of all Windows Compatible TrueType Fonts in package
$fontList = Get-ChildItem "*Windows Compatible*.ttf"
}
if ($fontList.Count -le 0) {
# Get list of all TrueType Fonts in package
$fontList = Get-ChildItem *.ttf
}

# Installs fonts in Paths list and keeps track of the list for uninstall later
$installCount = Install-ChocolateyFont -Paths $fontList -Multiple
Write-Host "$installCount fonts installed"

Pop-Location
5 changes: 5 additions & 0 deletions nerd-fonts-0xProto/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$ErrorActionPreference = 'Stop'

# Uninstalls fonts that were installed by this package
$uninstallCount = Uninstall-ChocolateyFont
Write-Host "$uninstallCount fonts uninstalled"
16 changes: 16 additions & 0 deletions nerd-fonts-0xProto/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import-module au
. $PSScriptRoot\..\_scripts\all.ps1

function global:au_SearchReplace {
return Get-NerdFontSearchReplace
}

function global:au_BeforeUpdate { Get-RemoteFiles -Purge }

function global:au_AfterUpdate { Set-DescriptionFromReadme -SkipFirst 2 -SkipLast 2 }

function global:au_GetLatest {
return Get-NerdFontLatest -Path $pwd
}

update -ChecksumFor 32 -NoReadme
1 change: 1 addition & 0 deletions nerd-fonts-CascadiaMono/FONT-README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Cascadia Mono
5 changes: 5 additions & 0 deletions nerd-fonts-CascadiaMono/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Nerd Fonts

Nerd Fonts is a project that patches developer targeted fonts with a high number of glyphs (icons).

[README for this font](./FONT-README.md)
31 changes: 31 additions & 0 deletions nerd-fonts-CascadiaMono/nerd-fonts-CascadiaMono.nuspec

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions nerd-fonts-CascadiaMono/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
$ErrorActionPreference = 'Stop'

$packageName = $env:ChocolateyPackageName
$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition

$packageArgs = @{
softwareName = $packageName
packageName = $packageName
unzipLocation = $toolsDir
url = 'https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/CascadiaMono.zip'
checksumType = 'sha256'
checksum = '603C68495918D6FDDD800FFB6AB1AE726F5E410AFFC6B02047B1CDB00453EFAB'
}

Install-ChocolateyZipPackage @packageArgs

# Install all OpenType Fonts in package
Push-Location $toolsDir

# Get list of all Windows Compatible OpenType Fonts in package
$fontList = Get-ChildItem "*Windows Compatible*.otf"

if ($fontList.Count -le 0) {
# Get list of all OpenType Fonts in package
$fontList = Get-ChildItem *.otf
}

# Use the TrueType fonts only if the OpenType files are missing
if ($fontList.Count -le 0) {
# Get list of all Windows Compatible TrueType Fonts in package
$fontList = Get-ChildItem "*Windows Compatible*.ttf"
}
if ($fontList.Count -le 0) {
# Get list of all TrueType Fonts in package
$fontList = Get-ChildItem *.ttf
}

# Installs fonts in Paths list and keeps track of the list for uninstall later
$installCount = Install-ChocolateyFont -Paths $fontList -Multiple
Write-Host "$installCount fonts installed"

Pop-Location
5 changes: 5 additions & 0 deletions nerd-fonts-CascadiaMono/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$ErrorActionPreference = 'Stop'

# Uninstalls fonts that were installed by this package
$uninstallCount = Uninstall-ChocolateyFont
Write-Host "$uninstallCount fonts uninstalled"
16 changes: 16 additions & 0 deletions nerd-fonts-CascadiaMono/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import-module au
. $PSScriptRoot\..\_scripts\all.ps1

function global:au_SearchReplace {
return Get-NerdFontSearchReplace
}

function global:au_BeforeUpdate { Get-RemoteFiles -Purge }

function global:au_AfterUpdate { Set-DescriptionFromReadme -SkipFirst 2 -SkipLast 2 }

function global:au_GetLatest {
return Get-NerdFontLatest -Path $pwd
}

update -ChecksumFor 32 -NoReadme
1 change: 1 addition & 0 deletions nerd-fonts-CommitMono/FONT-README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# CommitMono
5 changes: 5 additions & 0 deletions nerd-fonts-CommitMono/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Nerd Fonts

Nerd Fonts is a project that patches developer targeted fonts with a high number of glyphs (icons).

[README for this font](./FONT-README.md)
31 changes: 31 additions & 0 deletions nerd-fonts-CommitMono/nerd-fonts-CommitMono.nuspec

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions nerd-fonts-CommitMono/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
$ErrorActionPreference = 'Stop'

$packageName = $env:ChocolateyPackageName
$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition

$packageArgs = @{
softwareName = $packageName
packageName = $packageName
unzipLocation = $toolsDir
url = 'https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/CommitMono.zip'
checksumType = 'sha256'
checksum = '99E3E1B6126191CC0F7E49EDE5DC20B65A6B8CA808DA0139B5669E412632BF8D'
}

Install-ChocolateyZipPackage @packageArgs

# Install all OpenType Fonts in package
Push-Location $toolsDir

# Get list of all Windows Compatible OpenType Fonts in package
$fontList = Get-ChildItem "*Windows Compatible*.otf"

if ($fontList.Count -le 0) {
# Get list of all OpenType Fonts in package
$fontList = Get-ChildItem *.otf
}

# Use the TrueType fonts only if the OpenType files are missing
if ($fontList.Count -le 0) {
# Get list of all Windows Compatible TrueType Fonts in package
$fontList = Get-ChildItem "*Windows Compatible*.ttf"
}
if ($fontList.Count -le 0) {
# Get list of all TrueType Fonts in package
$fontList = Get-ChildItem *.ttf
}

# Installs fonts in Paths list and keeps track of the list for uninstall later
$installCount = Install-ChocolateyFont -Paths $fontList -Multiple
Write-Host "$installCount fonts installed"

Pop-Location
5 changes: 5 additions & 0 deletions nerd-fonts-CommitMono/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$ErrorActionPreference = 'Stop'

# Uninstalls fonts that were installed by this package
$uninstallCount = Uninstall-ChocolateyFont
Write-Host "$uninstallCount fonts uninstalled"
16 changes: 16 additions & 0 deletions nerd-fonts-CommitMono/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import-module au
. $PSScriptRoot\..\_scripts\all.ps1

function global:au_SearchReplace {
return Get-NerdFontSearchReplace
}

function global:au_BeforeUpdate { Get-RemoteFiles -Purge }

function global:au_AfterUpdate { Set-DescriptionFromReadme -SkipFirst 2 -SkipLast 2 }

function global:au_GetLatest {
return Get-NerdFontLatest -Path $pwd
}

update -ChecksumFor 32 -NoReadme
1 change: 1 addition & 0 deletions nerd-fonts-D2Coding/FONT-README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# D2Coding
5 changes: 5 additions & 0 deletions nerd-fonts-D2Coding/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Nerd Fonts

Nerd Fonts is a project that patches developer targeted fonts with a high number of glyphs (icons).

[README for this font](./FONT-README.md)
31 changes: 31 additions & 0 deletions nerd-fonts-D2Coding/nerd-fonts-D2Coding.nuspec

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions nerd-fonts-D2Coding/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
$ErrorActionPreference = 'Stop'

$packageName = $env:ChocolateyPackageName
$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition

$packageArgs = @{
softwareName = $packageName
packageName = $packageName
unzipLocation = $toolsDir
url = 'https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/D2Coding.zip'
checksumType = 'sha256'
checksum = 'D7C2EC38D316583C8AF0319068AC05488F0C053CCCEA842AAE6089F3D64D758F'
}

Install-ChocolateyZipPackage @packageArgs

# Install all OpenType Fonts in package
Push-Location $toolsDir

# Get list of all Windows Compatible OpenType Fonts in package
$fontList = Get-ChildItem "*Windows Compatible*.otf"

if ($fontList.Count -le 0) {
# Get list of all OpenType Fonts in package
$fontList = Get-ChildItem *.otf
}

# Use the TrueType fonts only if the OpenType files are missing
if ($fontList.Count -le 0) {
# Get list of all Windows Compatible TrueType Fonts in package
$fontList = Get-ChildItem "*Windows Compatible*.ttf"
}
if ($fontList.Count -le 0) {
# Get list of all TrueType Fonts in package
$fontList = Get-ChildItem *.ttf
}

# Installs fonts in Paths list and keeps track of the list for uninstall later
$installCount = Install-ChocolateyFont -Paths $fontList -Multiple
Write-Host "$installCount fonts installed"

Pop-Location
5 changes: 5 additions & 0 deletions nerd-fonts-D2Coding/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$ErrorActionPreference = 'Stop'

# Uninstalls fonts that were installed by this package
$uninstallCount = Uninstall-ChocolateyFont
Write-Host "$uninstallCount fonts uninstalled"
16 changes: 16 additions & 0 deletions nerd-fonts-D2Coding/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import-module au
. $PSScriptRoot\..\_scripts\all.ps1

function global:au_SearchReplace {
return Get-NerdFontSearchReplace
}

function global:au_BeforeUpdate { Get-RemoteFiles -Purge }

function global:au_AfterUpdate { Set-DescriptionFromReadme -SkipFirst 2 -SkipLast 2 }

function global:au_GetLatest {
return Get-NerdFontLatest -Path $pwd
}

update -ChecksumFor 32 -NoReadme
2 changes: 2 additions & 0 deletions nerd-fonts-EnvyCodeR/FONT-README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# EnvyCodeR

5 changes: 5 additions & 0 deletions nerd-fonts-EnvyCodeR/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Nerd Fonts

Nerd Fonts is a project that patches developer targeted fonts with a high number of glyphs (icons).

[README for this font](./FONT-README.md)
31 changes: 31 additions & 0 deletions nerd-fonts-EnvyCodeR/nerd-fonts-EnvyCodeR.nuspec

Large diffs are not rendered by default.

42 changes: 42 additions & 0 deletions nerd-fonts-EnvyCodeR/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
$ErrorActionPreference = 'Stop'

$packageName = $env:ChocolateyPackageName
$toolsDir = Split-Path -Parent $MyInvocation.MyCommand.Definition

$packageArgs = @{
softwareName = $packageName
packageName = $packageName
unzipLocation = $toolsDir
url = 'https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/EnvyCodeR.zip'
checksumType = 'sha256'
checksum = '6D25B08438ADBA6E9FFC5674D063389A61E62D5542578B5E907C1D462881E9A3'
}

Install-ChocolateyZipPackage @packageArgs

# Install all OpenType Fonts in package
Push-Location $toolsDir

# Get list of all Windows Compatible OpenType Fonts in package
$fontList = Get-ChildItem "*Windows Compatible*.otf"

if ($fontList.Count -le 0) {
# Get list of all OpenType Fonts in package
$fontList = Get-ChildItem *.otf
}

# Use the TrueType fonts only if the OpenType files are missing
if ($fontList.Count -le 0) {
# Get list of all Windows Compatible TrueType Fonts in package
$fontList = Get-ChildItem "*Windows Compatible*.ttf"
}
if ($fontList.Count -le 0) {
# Get list of all TrueType Fonts in package
$fontList = Get-ChildItem *.ttf
}

# Installs fonts in Paths list and keeps track of the list for uninstall later
$installCount = Install-ChocolateyFont -Paths $fontList -Multiple
Write-Host "$installCount fonts installed"

Pop-Location
5 changes: 5 additions & 0 deletions nerd-fonts-EnvyCodeR/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
$ErrorActionPreference = 'Stop'

# Uninstalls fonts that were installed by this package
$uninstallCount = Uninstall-ChocolateyFont
Write-Host "$uninstallCount fonts uninstalled"
16 changes: 16 additions & 0 deletions nerd-fonts-EnvyCodeR/update.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import-module au
. $PSScriptRoot\..\_scripts\all.ps1

function global:au_SearchReplace {
return Get-NerdFontSearchReplace
}

function global:au_BeforeUpdate { Get-RemoteFiles -Purge }

function global:au_AfterUpdate { Set-DescriptionFromReadme -SkipFirst 2 -SkipLast 2 }

function global:au_GetLatest {
return Get-NerdFontLatest -Path $pwd
}

update -ChecksumFor 32 -NoReadme
1 change: 1 addition & 0 deletions nerd-fonts-GeistMono/FONT-README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# GeistMono
5 changes: 5 additions & 0 deletions nerd-fonts-GeistMono/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Nerd Fonts

Nerd Fonts is a project that patches developer targeted fonts with a high number of glyphs (icons).

[README for this font](./FONT-README.md)
31 changes: 31 additions & 0 deletions nerd-fonts-GeistMono/nerd-fonts-GeistMono.nuspec

Large diffs are not rendered by default.

Loading

0 comments on commit 704a0ed

Please sign in to comment.