models/build_arch library

This file defines the BuildArch enum, which specifies the CPU architectures that the app is designed to run on and, consequently, the architectures supported by the installer generated by inno_bundle.

The BuildArch enum includes two options:

The file also provides utility methods for validating and parsing configuration options:

  • validationError: Validates a configuration option to ensure it matches an accepted value.
  • fromOption: Converts a string configuration option into the corresponding BuildArch enum value.

Enums

BuildArch
The CPU Architecture that the app was designed to run on, and therefore the architectures that are accepted by inno_bundle generated installer.