Skip to content

Commit

Permalink
AppImage not appimage. (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
arran4 authored Aug 28, 2024
1 parent 08de938 commit 3202cc3
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ class AppPackageMakerAppImage extends AppPackageMaker {
}),
);

var outputMakeConfig = MakeConfig().copyWith(makeConfig)..packageFormat='AppImage';

await $(
'appimagetool',
[
Expand All @@ -275,7 +277,7 @@ class AppPackageMakerAppImage extends AppPackageMaker {
makeConfig.packagingDirectory.path,
'${makeConfig.appName}.AppDir',
),
makeConfig.outputFile.path.replaceAll('.appimage', '.AppImage'),
outputMakeConfig.outputFile.path,
],
environment: {
'ARCH': 'x86_64',
Expand All @@ -287,7 +289,7 @@ class AppPackageMakerAppImage extends AppPackageMaker {
});

makeConfig.packagingDirectory.deleteSync(recursive: true);
return MakeResult(makeConfig);
return MakeResult(outputMakeConfig);
} catch (e) {
if (e is MakeError) rethrow;
throw MakeError(e.toString());
Expand Down

0 comments on commit 3202cc3

Please sign in to comment.