mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
electron-builder parameter mismatch #679
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @denniskrq on GitHub (Jun 29, 2021).
Originally assigned to: @GregorBiswanger on GitHub.
Steps to Reproduce:
electronize build /target custom "win7-x64;win64"as suggested in the custom target documentationnpx electron-builder --config=./bin/electron-builder.json --win64 --x64 -c.electronVersion=11.1.1to beUnknown argument: win64The issue seems to be that the Electronize CLI code uses the string after the semicolon in the custom target as the Electron packer platform ("win64" in my case). However,
electron-builderdoes not accept "win64" as a valid build target, only "win" (see: https://www.electron.build/cli). The documentation for custom target should be updated to reflect this.@Jennal commented on GitHub (Jul 1, 2021):
same issue here.
@Jennal commented on GitHub (Jul 6, 2021):
The problem occured when I use git bash in windows. When I use cmd, the problem gone.
@GregorBiswanger commented on GitHub (Mar 28, 2023):
🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉
With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!