Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ class AppPackageMakerAppImage extends AppPackageMaker {
makeConfig.packagingDirectory.path,
'${makeConfig.appName}.AppDir',
),
if (makeConfig.update != null) ...['-u', makeConfig.update!],
outputMakeConfig.outputFile.path,
],
environment: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ class MakeAppImageConfig extends MakeConfig {
this.include = const [],
this.startupNotify = true,
this.genericName = 'A Flutter Application',
this.update,
this.supportedMimeType,
this.metainfo,
});
Expand All @@ -53,6 +54,7 @@ class MakeAppImageConfig extends MakeConfig {
categories: (map['categories'] as List<dynamic>? ?? []).cast<String>(),
startupNotify: map['startup_notify'] as bool? ?? false,
genericName: map['generic_name'] as String? ?? 'A Flutter Application',
update: map['update'] as String?,
actions: (map['actions'] as List? ?? [])
.map(
(e) => AppImageAction.fromJson(
Expand All @@ -74,6 +76,7 @@ class MakeAppImageConfig extends MakeConfig {
final bool startupNotify;
final String genericName;
final String displayName;
final String? update;
final List<String> include;
List<String>? supportedMimeType;

Expand Down