Open sridhard opened 1 month ago
Not sure if this is how it works off the top of my head. Does the architecture of an installed app have to be the same architecture as the installer? I'm wondering if the 32-bit installer is for compatibility purposes, and since it just copies files, the files within (e.g. the app) could still be 64 bit?
Latest 6.3.2
20.16.0
26.2.1
windows
I am using electron sample app from https://github.com/electron-react-boilerplate/electron-react-boilerplate I am building this app in a windows 64 bit machine.
I am trying to build a 64 bit portable exe and also a 64 bit nsis installer m(x64). But I am always getting 32bit(x86) installer and portable.exe
I verified the installer architecture using dumpbin. Below is the output:
We can see the installer is a 32bit x86 installer FILE HEADER VALUES 14C machine (x86)
How can we build a 64bit portable exe and a installer?
I tried passing --x64 to electron builder and also configured arch as x64 in target in package.json