diff --git a/packages/flutter_app_packager/lib/src/makers/deb/make_deb_config.dart b/packages/flutter_app_packager/lib/src/makers/deb/make_deb_config.dart index 79a94a7..3663599 100644 --- a/packages/flutter_app_packager/lib/src/makers/deb/make_deb_config.dart +++ b/packages/flutter_app_packager/lib/src/makers/deb/make_deb_config.dart @@ -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? postinstallScripts, List? postuninstallScripts, @@ -157,7 +157,7 @@ class MakeDebConfig extends MakeLinuxPackageConfig { factory MakeDebConfig.fromJson(Map 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: