Config constructor
Config({
- required File pubspecFile,
- required File configFile,
- required List<
FileEntry> files, - required List<
String> includedFileExts, - required List<
String> excludedFileExts, - required String? buildArgs,
- required String id,
- required String pubspecName,
- required String name,
- required String description,
- required String version,
- required String publisher,
- required String url,
- required String supportUrl,
- required String updatesUrl,
- required String installerIcon,
- required List<
Language> languages, - required AdminMode admin,
- required String licenseFile,
- required SignTool? signTool,
- required BuildArch arch,
- required VcRedistMode vcRedist,
- required File innoExec,
- required Directory baseDir,
- BuildType type = BuildType.release,
- bool app = true,
- bool installer = true,
- List<
String> outputDir = installerBuildDir,
Creates a Config instance with default values.
Implementation
Config({
required this.pubspecFile,
required this.configFile,
required this.files,
required this.includedFileExts,
required this.excludedFileExts,
required this.buildArgs,
required this.id,
required this.pubspecName,
required this.name,
required this.description,
required this.version,
required this.publisher,
required this.url,
required this.supportUrl,
required this.updatesUrl,
required this.installerIcon,
required this.languages,
required this.admin,
required this.licenseFile,
required this.signTool,
required this.arch,
required this.vcRedist,
required this.innoExec,
required this.baseDir,
this.type = BuildType.release,
this.app = true,
this.installer = true,
this.outputDir = installerBuildDir,
});