Skip to content

Commit

Permalink
fix(linux): remove version field from desktop filess
Browse files Browse the repository at this point in the history
  • Loading branch information
prateekmedia committed Sep 29, 2024
1 parent fc44798 commit 8a827a2
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<String>? postinstallScripts,
Expand Down Expand Up @@ -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']}>",
Expand Down Expand Up @@ -189,7 +187,6 @@ class MakePacmanConfig extends MakeLinuxPackageConfig {
String displayName;
String packageName;
String maintainer;
bool includeBuildNumber;
int packageRelease;
int? installedSize;
List<String> licenses;
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ class MakeRPMConfig extends MakeConfig {
},
'DESKTOP': {
'Type': 'Application',
'Version': includeBuildNumber ? appVersion.toString() : appBuildName,
'Name': displayName,
'GenericName': genericName,
'Icon': appName,
Expand Down

0 comments on commit 8a827a2

Please sign in to comment.