Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows ia32 installer not being built anymore on x64 machine? #281

Closed
demetris-manikas opened this issue Mar 30, 2016 · 8 comments
Closed
Labels

Comments

@demetris-manikas
Copy link
Contributor

After upgrading to version 3.1.1 no ia32 installer is being built.
Is this expected or is it a bug?

Thanks

@develar
Copy link
Member

develar commented Mar 30, 2016

It is expected. We build only current arch. Please see #267

@demetris-manikas
Copy link
Contributor Author

Correct me if I am not getting this right.
Instead of allowing user to set the arch argument so as to build for a specific arch (say x32) the whole thing went away?
So I now need to have an ia32 machine to build for ia32?

@develar
Copy link
Member

develar commented Mar 30, 2016

No. Only default was changed. You can use --arch ia32 or --arch all to build ia32 on 64bit machine.

@demetris-manikas
Copy link
Contributor Author

Thanks a lot.

@vicentedealencar
Copy link

vicentedealencar commented Apr 26, 2016

I am not using the command line so it is not clear where to set arch, so I tryed like this on the package.json

  "build": {
    "arch": "ia32",
    ...

but I get this error Error: Option arch is ignored, do not specify it.

Am I missing something?

EDIT

found this on #267 and it worked out

  "scripts": {
    "dist": "npm run build && build --arch ia32",
    ...
  },

@develar
Copy link
Member

develar commented Apr 27, 2016

@vicentedealencar Do you use build method directly?

So,

export interface BuildOptions extends PackagerOptions, PublishOptions {
}

export async function build(originalOptions?: BuildOptions): Promise<void>

It means that you just call

build({arch: "ia32"})

@vicentedealencar
Copy link

Is build on package.json of type BuildOptions?

Using the thing I first tryed - "arch": "ia32", - doesn't work because of this code

@develar
Copy link
Member

develar commented Apr 27, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants