Downloads:

4,957

Downloads of v 2.3.1:

166

Last Update:

17 Mar 2021

Package Maintainer(s):

Software Author(s):

  • Yuko Otawara

Tags:

font admin hack source-han-sans monospace programming truetype japanese

Programming Font HackGen with Nerd Fonts

This is not the latest version of Programming Font HackGen with Nerd Fonts available.

  • 1
  • 2
  • 3

2.3.1 | Updated: 17 Mar 2021

Downloads:

4,957

Downloads of v 2.3.1:

166

Maintainer(s):

Software Author(s):

  • Yuko Otawara

  • 1
  • 2
  • 3
Programming Font HackGen with Nerd Fonts 2.3.1

This is not the latest version of Programming Font HackGen with Nerd Fonts available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Programming Font HackGen with Nerd Fonts, run the following command from the command line or from PowerShell:

>

To upgrade Programming Font HackGen with Nerd Fonts, run the following command from the command line or from PowerShell:

>

To uninstall Programming Font HackGen with Nerd Fonts, run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade font-hackgen-nerd -y --source="'INTERNAL REPO URL'" --version="'2.3.1'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade font-hackgen-nerd -y --source="'INTERNAL REPO URL'" --version="'2.3.1'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install font-hackgen-nerd
  win_chocolatey:
    name: font-hackgen-nerd
    version: '2.3.1'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'font-hackgen-nerd' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.3.1'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller font-hackgen-nerd
{
    Name     = "font-hackgen-nerd"
    Version  = "2.3.1"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'font-hackgen-nerd':
  ensure   => '2.3.1',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved as a trusted package on 17 Mar 2021.

Description

HackGen

HackGen is a programming font that is a combination of Hack, an English font for programming, and GenJyuu-Gothic, a derivative of Source Han Sans.

This package installs following fonts on system font folder (C:\Windows\Fonts).

  • HackGenNerd
  • HackGenNerd Console
  • HackGen35Nerd
  • HackGen35Nerd Console

If the installation or update of this package fails, it may be for the following reasons.

  • HackGen is already installed.
  • Some applications are using HackGen.

Remove the HackGen or close any applications that use HackGen before trying to install or update the package. If you have a problem about this package, please visit the package repository and post a issue.

プログラミングフォント 白源

白源(はくげん)は、プログラミング向け英文フォントHackと、源ノ角ゴシックの派生フォント源柔ゴシックを合成したプログラミングフォントです。

このパッケージは以下のフォントをシステム全体にインストールします。(C:\Windows\Fontsにインストールされます)

  • HackGenNerd
  • HackGenNerd Console
  • HackGen35Nerd
  • HackGen35Nerd Console

このパッケージのインストールやアップデートに失敗する場合、以下の理由が考えられます。

  • 白源フォントが既にインストールされている
  • 起動しているアプリケーションが白源フォントを使用している

既にインストールされている白源フォントを削除したり、フォントを使用しているアプリケーションを閉じてからインストール、アップデートを試みてください。もしパッケージに何かしらの問題がある場合は、パッケージのリポジトリでissueを投稿してください。

Screenshots

HackGen HackGen35
hackgen hackgen35

tools\chocolateyBeforeModify.ps1
$ErrorActionPreference = 'Stop'

## Include common configurations
$toolsDir = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
. (Join-Path $toolsDir 'common.ps1')

$hackgenFonts | ForEach-Object {
  'Uninstalling {0}...' -f $_
  Uninstall-ChocolateyFont $_ | Out-Null
}
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop'

## Include common configurations
$toolsDir = Split-Path -Path $MyInvocation.MyCommand.Definition -Parent
. (Join-Path $toolsDir 'common.ps1')

$hackgenBase = 'HackGenNerd_v2.3.1'
$extractDir = (Join-Path $toolsDir $hackgenBase)

$packageArgs = @{
  PackageName   = 'font-hackgen-nerd'
  Url           = 'https://github.com/yuru7/HackGen/releases/download/v2.3.1/HackGenNerd_v2.3.1.zip'
  Checksum      = 'c4edeeb41882bebee179e593f929418706118c7dcd068672ded2ca99e6991ff7'
  ChecksumType  = 'sha256'
  UnzipLocation = $toolsDir
}

# Download and extract Zip
Install-ChocolateyZipPackage @packageArgs

# Install all ttf fonts
$hackgenFonts | ForEach-Object {
  'Installing {0}...' -f $_
  Install-ChocolateyFont (Join-Path $extractDir $_) | Out-Null
}
tools\common.ps1
$hackgenFonts = @(
  'HackGenNerd-Bold.ttf'
  'HackGenNerd-Regular.ttf'
  'HackGen35Nerd-Bold.ttf'
  'HackGen35Nerd-Regular.ttf'
  'HackGen35NerdConsole-Bold.ttf'
  'HackGen35NerdConsole-Regular.ttf'
  'HackGenNerdConsole-Bold.ttf'
  'HackGenNerdConsole-Regular.ttf'
)

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Programming Font HackGen with Nerd Fonts 2.6.4 93 Thursday, August 11, 2022 Approved
Programming Font HackGen with Nerd Fonts 2.6.3 677 Tuesday, April 19, 2022 Approved
Programming Font HackGen with Nerd Fonts 2.6.2-pre 18 Monday, April 18, 2022 Approved
Programming Font HackGen with Nerd Fonts 2.6.1 68 Monday, April 18, 2022 Approved
Programming Font HackGen with Nerd Fonts 2.6.0-pre 47 Sunday, February 6, 2022 Approved
Programming Font HackGen with Nerd Fonts 2.5.3 649 Saturday, December 18, 2021 Approved
Programming Font HackGen with Nerd Fonts 2.5.3-pre 28 Friday, December 10, 2021 Approved
Programming Font HackGen with Nerd Fonts 2.5.2 389 Tuesday, October 26, 2021 Approved
Programming Font HackGen with Nerd Fonts 2.5.1 439 Thursday, August 19, 2021 Approved
Discussion for the Programming Font HackGen with Nerd Fonts Package

Ground Rules:

  • This discussion is only about Programming Font HackGen with Nerd Fonts and the Programming Font HackGen with Nerd Fonts package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Programming Font HackGen with Nerd Fonts, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus