Skip to content

Commit

Permalink
cd: fix linux file copy error
Browse files Browse the repository at this point in the history
  • Loading branch information
KRTirtho committed May 7, 2024
1 parent f021c4f commit 65db056
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions cli/commands/build/linux.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 65db056

Please sign in to comment.