-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Different architectures for different platforms #1314
Comments
Proposed solution: targets and n the config should accepts not only name, but object — name, arch. It also will simplify programmatic API. Thanks for nice feature request. Will be implemented when I will return from vacation. Or PR welcome. |
@develar It shout be somsing like this: "targets": [{
"arch": ["ia32", "x64"],
"platform": "win",
"target": "nsis"
},{
"arch": ["ia32", "x64"],
"platform": "linux",
"target": "deb"
}{
"arch": ["x64"],
"platform": "linux",
"target": "snap"
}] After compilation we get 3 installation file:
|
@cawa-93 We currently already have So, I propose: {
"target": "nsis",
"arch": ["ia32", "x64"],
} without |
Then maybe it should be done as follows: {
"win": {
"targets": [{
"target": "nsis",
"arch": ["ia32", "x64"],
}]
},
"linux": {
"targets": [{
"target": "deb",
"arch": ["ia32", "x64"],
}, {
"target": "snap",
"arch": ["x64"],
}]
} The idea is to be able specify architecture to individually for each platform and each target |
BTW, |
You still need to specify platforms in the command line. |
To build x64 Deb & ia32/x64 NSIS, the final syntax looks something like:
|
For example I want to create nsis installer for Windovs --ia32 --x64 and Linux deb --x64;
Perhaps there is a way to specify in the configuration area to build? Something like this:
In this case there is no need to specify the architecture of the platform and the command line.
Instead of this
Suffice it to perform
The text was updated successfully, but these errors were encountered: