argv-minus-one / dmg-license Goto Github PK
View Code? Open in Web Editor NEWGenerate license agreements for macOS .dmg files
License: MIT License
Generate license agreements for macOS .dmg files
License: MIT License
using pnpm, any project that ends up describing your packages as a dep becomes uninstallable.
Hey,
I am trying to build one of our projects but it fails with the following exception:
⨯ No known languages found for specification English. stackTrace=
NoSuchLanguageError: No known languages found for specification English.
at Function.bySpec (/Users/dmey/workspace/drive/node_modules/dmg-license/lib/Language.js:35:19)
at Object.indexByLanguage (/Users/dmey/workspace/drive/node_modules/dmg-license/lib/Language.js:81:41)
at labelCache (/Users/dmey/workspace/drive/node_modules/dmg-license/lib/assembleLicenses.js:92:35)
at Object.assembleLicenses [as default] (/Users/dmey/workspace/drive/node_modules/dmg-license/lib/assembleLicenses.js:117:23)
at dmgLicensePlist (/Users/dmey/workspace/drive/node_modules/dmg-license/lib/index.js:27:78)
at dmgLicense (/Users/dmey/workspace/drive/node_modules/dmg-license/lib/index.js:21:62)
at dmgLicenseFromJSON (/Users/dmey/workspace/drive/node_modules/dmg-license/lib/index.js:37:18)
at addLicenseToDmg (/Users/dmey/workspace/drive/node_modules/dmg-builder/src/dmgLicense.ts:57:9)
The exact same configuration is working on my workmates device.
What is the exact problem in this case?
Thanks and best regards,
Dominic
As of macOS 12, the hdiutil udifrez
command, used by dmg-license, is deprecated.
Deprecation by Apple is not an empty threat. They will most likely remove this command in the future even though it's still being used. They already did that with the older hdiutil flatten
command.
I'm not aware of any other way to attach resources, such as a license agreement, to a UDIF image. A Google search on the subject yields nothing helpful.
If anyone knows of some other, non-deprecated way to attach resources to a UDIF image, please add a comment to this issue and let me know. Otherwise, when Apple removes hdiutil udifrez
, dmg-license will no longer work.
See also a discussion about this issue at the CMake project.
I'm getting tons of odd erros that i'm trying to fix (full list here) but among them:
Module not found: Error: Can't resolve 'dmg-license' in 'C:\Users\jack\Desktop\merge\Newton\node_modules\dmg-builder\out'
so I went to install by yarn add dmg-license
but I get the error:
error [email protected]: The platform "win32" is incompatible with this module.
Out the missing modules, this is the only one that I couldn't install. Note that i'm trying to build on windows not on mac, I'm not using this module directly. I'm just trying to install the missing modules so I can build it
Hello. What is the reasoning behind using lowercase letters for some language's localizedNames? For example French or Italian?
We are trying to add multiple license files to an application but in the language select some of them are with capital letters and some of them lowercase.
I tried to change those values by providing configuration in licenseButtons file but none seems to work.
We have a problem with Chinese EULA.
We would like both Simplified and Traditional Chinese in the language pulldown, but only one of them is added, using the same name (2 characters). Unfortunately also not editable via language-info.json. In that file they have additional specification between parentheses.
Guess the same problem might occur for variations on English (US, UK).
Please update the affected packages.
Dependabot alerts:
GHSA-93q8-gq69-wqmw
affected npm package:
cli-truncate@^1.1.0
See more: pnpm/pnpm#3640
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.