Comments (4)
You're getting that error because both dmg-license and iconv-corefoundation (which dmg-license depends on) don't work at all on anything other than macOS.
From your error log, it looks like electron-builder is configured to generate a dmg file and attach a license agreement to it. That can only be done on a Mac, because attaching a license agreement to a dmg (at least with this dmg-license package) involves calling macOS APIs (namely CoreFoundation.framework
and the hdiutil
command-line program) that don't exist on any other platform.
If you want to build a dmg on Windows, you'll have to not attach a license agreement to it and show your license agreement another way. You should probably do that anyway, as dmg license agreements are deprecated by Apple and will probably be removed soon; see issue #11 for details.
from dmg-license.
You're getting that error because both dmg-license and iconv-corefoundation (which dmg-license depends on) don't work at all on anything other than macOS.
From your error log, it looks like electron-builder is configured to generate a dmg file and attach a license agreement to it. That can only be done on a Mac, because attaching a license agreement to a dmg (at least with this dmg-license package) involves calling macOS APIs (namely
CoreFoundation.framework
and thehdiutil
command-line program) that don't exist on any other platform.If you want to build a dmg on Windows, you'll have to not attach a license agreement to it and show your license agreement another way. You should probably do that anyway, as dmg license agreements are deprecated by Apple and will probably be removed soon; see issue #11 for details.
I didn't mean directly to generate such license for mac on windows. I was just figuring out how to use electron-builder, electron-forget, etc so that I could use webpack wihin my application. How do I prevent to try to generate such dmg-license on windows? I don't need this nowat all. The application was working tootally fine when suddently the yarn make
stoped working and I got ton of those errors.
from dmg-license.
I'm sorry, but I can't help you there. I'm not familiar with electron-builder configuration.
from dmg-license.
I see, thanks anyway for your help.
from dmg-license.
Related Issues (8)
- Help needed: `hdiutil udifrez` is deprecated by Apple but is needed by dmg-license HOT 10
- Localized names of some languages start with lowercase letter. HOT 3
- Only one variation of language displayed in EULA dialog pulldown HOT 2
- No known languages found for specification English. HOT 6
- Change iconv-corefoundation to be in `optionalDependencies` HOT 2
- packages including dmg-license become uninstallable on linux HOT 3
- Dependabot alerts: ansi-regex is vulnerable to Inefficient Regular Expression Complexity HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dmg-license.