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:
- BuildArch.x64: Represents the standard 64-bit architecture (
x86_64
). - BuildArch.x64Compatible: Represents a compatible 64-bit architecture (
x86_64
).
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.