Open andirsun opened 1 year ago
Did you manage to figure out how to generate this build? I am trying to generate a .dmg file, but only a .app file is being generated.
maker.options.json:
{
"dmg": {
"window": {
"width": 660,
"height": 400
},
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 240,
"y": 150,
"type": "link",
"path": "/Applications"
}
]
},
"mac": {
"category": "public.app-category.social-networking",
"icon": "apps/desktop/src/app/options/resources/icon.icns",
"target": ["zip", "dmg"],
"minimumSystemVersion": "10.10",
"hardenedRuntime": true,
"entitlements": "apps/desktop/entitlements.plist",
"entitlementsInherit": "apps/desktop/entitlementsInherit.plist"
}
}
and my commands:
nx build desktop-client
nx build desktop
nx run desktop:package
Desktop:
OS: Mac Os 14 Nx Electron Version ^17.0.1
@ja-klaudiusz Did you try using :make instead of package ?
@andirsun Yes, I tried. But either I didn't notice that it goes into /dist/executables or it wasn't working before the Xcode update... Anyway, after updating Xcode, make: actually works.
Describe the bug A clear and concise description of what the bug is. I am trying to generate a single universal build for my application, I can do it with electron builder configuration but since I am using the nx-electron plugin and
maker.options.json
for some reason two builds are generated:This is my maker.options.json file
And this is the build process.
To Reproduce Steps to reproduce the behavior:
Expected behavior I dont need to always generate arm64 builds
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.