Skip to content

Commit 47fa743

Browse files
author
Github-actions
committed
Automatic linting
1 parent da485ec commit 47fa743

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

flatpak/flatpak_generator.dart

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,7 @@ class PackageGenerator {
7070
'The desktop file does not exist under the specified path: ${desktopFile.path}');
7171
}
7272

73-
desktopFile.copySync(
74-
'${tempDir.path}/$appId.desktop');
73+
desktopFile.copySync('${tempDir.path}/$appId.desktop');
7574

7675
// icons
7776
final iconTempDir = Directory('${tempDir.path}/icons');
@@ -115,13 +114,8 @@ class PackageGenerator {
115114
final packagePath =
116115
'${outputDir.absolute.path}/${specJson.lowercaseAppName}-linux-$platformSuffix.tar.gz';
117116

118-
Process.runSync('cp', [
119-
'-r',
120-
'${buildDir.absolute.path}/.',
121-
destDir.absolute.path
122-
]);
123-
Process.runSync('tar', ['-czvf', packagePath, '.'],
124-
workingDirectory: tempDir.absolute.path);
117+
Process.runSync('cp', ['-r', '${buildDir.absolute.path}/.', destDir.absolute.path]);
118+
Process.runSync('tar', ['-czvf', packagePath, '.'], workingDirectory: tempDir.absolute.path);
125119

126120
print('Generated $packagePath');
127121

0 commit comments

Comments
 (0)