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 31d0612..734b8a9 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 @@ -299,7 +299,6 @@ class MakeDebConfig extends MakeLinuxPackageConfig { }..removeWhere((key, value) => value == null), 'DESKTOP': { 'Type': 'Application', - 'Version': includeBuildNumber ? appVersion.toString() : appBuildName, 'Name': displayName, 'GenericName': genericName, 'Icon': appBinaryName, diff --git a/packages/flutter_app_packager/lib/src/makers/pacman/make_pacman_config.dart b/packages/flutter_app_packager/lib/src/makers/pacman/make_pacman_config.dart index 45bf150..2668199 100644 --- a/packages/flutter_app_packager/lib/src/makers/pacman/make_pacman_config.dart +++ b/packages/flutter_app_packager/lib/src/makers/pacman/make_pacman_config.dart @@ -99,7 +99,6 @@ class MakePacmanConfig extends MakeLinuxPackageConfig { required this.displayName, required this.packageName, this.installedSize, - this.includeBuildNumber = true, required this.maintainer, this.packageRelease = 1, List? postinstallScripts, @@ -129,7 +128,6 @@ class MakePacmanConfig extends MakeLinuxPackageConfig { return MakePacmanConfig( displayName: map['display_name'], packageName: map['package_name'], - includeBuildNumber: map['include_build_number'] ?? true, packageRelease: int.tryParse(map['package_release'] ?? '1') ?? 1, maintainer: "${map['maintainer']['name']} <${map['maintainer']['email']}>", @@ -189,7 +187,6 @@ class MakePacmanConfig extends MakeLinuxPackageConfig { String displayName; String packageName; String maintainer; - bool includeBuildNumber; int packageRelease; int? installedSize; List licenses; @@ -249,7 +246,6 @@ class MakePacmanConfig extends MakeLinuxPackageConfig { }..removeWhere((key, value) => value == null), 'DESKTOP': { 'Type': 'Application', - 'Version': includeBuildNumber ? appVersion.toString() : appBuildName, 'Name': displayName, 'GenericName': genericName, 'Icon': appBinaryName, diff --git a/packages/flutter_app_packager/lib/src/makers/rpm/make_rpm_config.dart b/packages/flutter_app_packager/lib/src/makers/rpm/make_rpm_config.dart index d51f859..87d35f1 100644 --- a/packages/flutter_app_packager/lib/src/makers/rpm/make_rpm_config.dart +++ b/packages/flutter_app_packager/lib/src/makers/rpm/make_rpm_config.dart @@ -164,7 +164,6 @@ class MakeRPMConfig extends MakeConfig { }, 'DESKTOP': { 'Type': 'Application', - 'Version': includeBuildNumber ? appVersion.toString() : appBuildName, 'Name': displayName, 'GenericName': genericName, 'Icon': appName,