cd: fix linux file copy error

This commit is contained in:
Kingkor Roy Tirtho 2024-05-07 22:47:44 +06:00
parent f021c4f996
commit 65db056b0d

View File

@ -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(
join(cwd.path, "linux", "com.github.KRTirtho.Spotube.appdata.xml"),
tempDir,
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"),
).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();