electronize start /target custom not working #614

Closed
opened 2026-01-29 16:44:09 +00:00 by claunia · 4 comments
Owner

Originally created by @Bmooij on GitHub (Dec 10, 2020).

Originally assigned to: @GregorBiswanger on GitHub.

  • Version: 9.31.2
  • .NET Core: 3.1
  • Node.js: v12.13.0
  • Target: x68

With the command electronize start /target custom "win7-x68;win32", it always publish with x64: dotnet publish -r win-x64

Originally created by @Bmooij on GitHub (Dec 10, 2020). Originally assigned to: @GregorBiswanger on GitHub. * **Version**: 9.31.2 * **.NET Core**: 3.1 * **Node.js**: v12.13.0 * **Target**: x68 With the command `electronize start /target custom "win7-x68;win32"`, it always publish with x64: `dotnet publish -r win-x64`
Author
Owner

@Bmooij commented on GitHub (Dec 13, 2020):

I've forked the project and ran "BuildAll.cmd". It replaced "electronize" executable in the .dotnet/tools folder. It works now

@Bmooij commented on GitHub (Dec 13, 2020): I've forked the project and ran "BuildAll.cmd". It replaced "electronize" executable in the .dotnet/tools folder. It works now
Author
Owner

@bravecobra commented on GitHub (Jan 24, 2021):

With the command electronize start /target custom "win7-x68;win32", it always publish with x64: dotnet publish -r win-x64

I think you needed win7-x86, or was that just a typo?

@bravecobra commented on GitHub (Jan 24, 2021): > With the command `electronize start /target custom "win7-x68;win32"`, it always publish with x64: `dotnet publish -r win-x64` I think you needed win7-x86, or was that just a typo?
Author
Owner

@GregorBiswanger commented on GitHub (Jul 2, 2021):

You also need the electron-arch parameter for the processor architecture.

This command does what you want:
electronize build /target custom "win7-x86;win" /electron-arch ia32

@GregorBiswanger commented on GitHub (Jul 2, 2021): You also need the `electron-arch` parameter for the processor architecture. This command does what you want: `electronize build /target custom "win7-x86;win" /electron-arch ia32`
Author
Owner

@GregorBiswanger commented on GitHub (Jul 2, 2021):

And for the start command you only had one typo.

This command does what you want:
electronize start /target custom "win7-x86;win32"

@GregorBiswanger commented on GitHub (Jul 2, 2021): And for the start command you only had one typo. This command does what you want: `electronize start /target custom "win7-x86;win32"`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#614