Open sagrawal31 opened 7 years ago
i'm new to bozon and node so please help me ..where i'm i to put the packager.js file been trying to figure that out ... I'm very new
Hello. Happy new year. Anyone could help me on how to setup or package my bozon generated app NSIS installer to be compatible both simultaneously IA32 and x64? I know how to generate it using "electron-builder" but with "bozon package", I don't. Anyone could help please? Thank you in advance.
I found a solution to build both 32bit(ia32) and 64bit(x64) installers for Windows. Here is a portion of my "package.json". You could remove one of them in the following config if you want only one of them.
"build": {
...
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
],
...
},
...
First, a wonderful tool to wrap electron packaging! Really great for bootstrap an electron app for the first time.
Here is my environment:
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
to
here packager.js#L49