From 0ebb016cb75e023be34bad1e5831af2ba7a0ee33 Mon Sep 17 00:00:00 2001 From: Prateek Sunal Date: Sun, 29 Sep 2024 04:13:59 +0530 Subject: [PATCH] fix: set include build number to true by default --- .../lib/src/makers/deb/make_deb_config.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: