diff --git a/cli/commands/build/linux.dart b/cli/commands/build/linux.dart index 8ada65039..7f0e49957 100644 --- a/cli/commands/build/linux.dart +++ b/cli/commands/build/linux.dart @@ -58,12 +58,17 @@ class LinuxBuildCommand extends Command with BuildCommandCommonSteps { )); await copyPath(bundleDirPath, tempDir); - await copyPath(join(cwd.path, "linux", "spotube.desktop"), tempDir); - await copyPath( + await File(join(cwd.path, "linux", "spotube.desktop")).copy( + join(tempDir, "spotube.desktop"), + ); + await File( join(cwd.path, "linux", "com.github.KRTirtho.Spotube.appdata.xml"), - tempDir, + ).copy( + join(tempDir, "com.github.KRTirtho.Spotube.appdata.xml"), + ); + await File(join(cwd.path, "assets", "spotube-logo.png")).copy( + join(tempDir, "spotube-logo.png"), ); - await copyPath(join(cwd.path, "assets", "spotube-logo.png"), tempDir); final archive = Archive();