Skip to content

Commit

Permalink
fix: set include build number to true by default
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekmedia committed Sep 28, 2024
1 parent 1a50de8 commit 0ebb016
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class MakeDebConfig extends MakeLinuxPackageConfig {
required this.installedSize,
required this.maintainer,
this.startupNotify = true,
this.includeBuildNumber = false,
this.includeBuildNumber = true,
this.essential = false,
List<String>? postinstallScripts,
List<String>? postuninstallScripts,
Expand Down Expand Up @@ -157,7 +157,7 @@ class MakeDebConfig extends MakeLinuxPackageConfig {

factory MakeDebConfig.fromJson(Map<String, dynamic> map) {
return MakeDebConfig(
includeBuildNumber: map['include_build_number'],
includeBuildNumber: map['include_build_number'] as bool? ?? true,
displayName: map['display_name'],
packageName: map['package_name'],
maintainer:
Expand Down

0 comments on commit 0ebb016

Please sign in to comment.