Giter Club home page Giter Club logo

Comments (2)

argv-minus-one avatar argv-minus-one commented on May 28, 2024

The dependency on iconv-corefoundation isn't actually optional. Dmg-license doesn't work at all without it. It's needed to convert input text into the Classic Mac OS character encodings expected in DMG license data.

I don't think that will help you anyway. Even if dmg-license did the character encoding conversion in some other, platform-independent way and didn't depend on iconv-corefoundation, dmg-license also requires the hdiutil program that only exists on macOS, so it still won't work on any other platform. For this reason, the package.json for dmg-license says it requires macOS (darwin), same as the package.json for iconv-corefoundation.

I see that electron-builder currently has a non-optional dependency on dmg-license. I'm not sure why—unlike dmg-license, electron-builder is useful on platforms other than macOS—so you might want to ask them to make their dependency on dmg-license optional.

Edit: It looks like I was reading the wrong package.json. Electron-builder depends on dmg-builder, and dmg-builder's dependency on dmg-license is optional, which should be fine.

People now seem to be saying that this is actually an issue with pnpm's dependency handling. Shall I close this issue, then?

from dmg-license.

mcmxcdev avatar mcmxcdev commented on May 28, 2024

Thank you for the in-depth explanation!

Yes, the creator of pnpm confirmed it's related to their dependency handling, closing this ;)

from dmg-license.

Related Issues (8)

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.