Skip to content

Ability to create app for windows 32 bit system #35

@sagrawal31

Description

@sagrawal31

First, a wonderful tool to wrap electron packaging! Really great for bootstrap an electron app for the first time.

Here is my environment:

Environment Version
OS MacOS Sierra
electron 1.4.3
electron-builder 12.0.3
electron-packager-tf 7.5.3
gulp 3.9.1
npm 4.1.2

When I'm doing bozon package windows it is by default generating for 64-bit machine and app is working fine. But I don't find a way to generate for 32-bit machine using bozon.

Is there any option available or am I missing something?

I went through the code and found a temporary workaround by changing

this.electronBuilder.Platform[platform.toUpperCase()].createTarget()

to

this.electronBuilder.Platform[platform.toUpperCase()].createTarget(null,
        this.electronBuilder.Arch.ia32, this.electronBuilder.Arch.x64)

here packager.js#L49

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions