Giter VIP home page Giter VIP logo

choco-jetbrainsmono's People

Contributors

cirzen avatar kurre avatar lg2de avatar pantosha avatar

Watchers

 avatar  avatar

choco-jetbrainsmono's Issues

Comments from the peanut gallery

Hi. Followup from https://chocolatey.org/packages/jetbrainsmono#comment-5067829733

I see that this is your first Chocolatey package. Congrats!

I know that unsolicited advice is rarely welcome, so feel free to reject this and send me insults.

Were I to write this package installer, I would make it an embedded package. That means the zip file is in the tools directory when you create the .nupkg. The license allows for that, and means users only need to download the Chocolatey Package and don't need to reach out to the source location. You will have to include a LICENSE.txt and a VERIFICATION.txt file as well.

If you want see how I did an embedded font package with a zip file look here.

The problem with failing the package when any single font of the collection doesn't install as you are currently doing is that some of the fonts may have installed and Chocolatey doesn't remove them on failure. Then, the machine is sitting with a partial collection of fonts installed that Chocolatey thinks is not there at all. Better is to just notify of failures so the user can reverse what happened and be back to where they were.

IMHO, you should really also include a ChocolateyUninstall.ps1 script with the package. While Chocolatey's built-in auto-uninstaller is pretty good with software using an installer, I'm pretty sure it doesn't do anything with fonts. Thus, a user who has Chocolatey install the font and then attempts to uninstall it, will be in a state where Chocolatey says the font is uninstalled, but it is still actually installed. Again, the Ubuntu package above can show you one way to do it.

Stay healthy!

The latest version is not available in Chocolatey.

The package repo points to 2.225, but in Chocolatey the latest published version is 2.002

$FontUrl = 'https://github.com/JetBrains/JetBrainsMono/releases/download/v2.225/JetBrainsMono-2.225.zip'
$ChecksumType = 'sha256';
$Checksum = '03B2E2C0E3285703A204B6EFBE2D277BF568E0BB53A395E9F4E74E9B77C4AEB2';

<version>2.225</version>

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.