superunitybuild / buildtool

A powerful automation tool for quickly and easily generating builds with Unity.
MIT License
1.19k stars 121 forks source link

All to select multiple values in device type (android) #104

Closed MatthieuG9 closed 1 year ago

MatthieuG9 commented 1 year ago

This PR adds the ability to interpret a field as a mask. The user can select multiple values from the mask. It introduces an isFlag option in the BuildVariant class.

Example use case

This is useful to build one ABB for all arm platforms (but not x86). image

robinnorth commented 1 year ago

Thanks for this really useful contribution, @MatthieuG9! I've just tested it out and it looks good to me 👍

There are a couple of minor changes I would like to make to prevent users from deselecting all architectures and to remove the now-redundant 'All' option, but it's going to be quicker for me to go ahead and do those myself after merging this PR.