cd: fix tar copy path

This commit is contained in:
Kingkor Roy Tirtho 2024-05-07 20:40:02 +06:00
parent d305d2b735
commit a7dcf47132
3 changed files with 3 additions and 5 deletions

View File

@ -45,9 +45,6 @@ class LinuxBuildCommand extends Command with BuildCommandCommonSteps {
final tempDir = Directory(join(Directory.systemTemp.path, "spotube-tar"))
..createSync(recursive: true);
final bundleDirPath =
join(cwd.path, "build", "linux", "x64", "release", "bundle", "*");
final tarPath = join(
cwd.path,
"build",
@ -57,7 +54,7 @@ class LinuxBuildCommand extends Command with BuildCommandCommonSteps {
);
await shell.run(
"""
cp -r $bundleDirPath ${tempDir.path}
cp -r build/linux/x64/release/bundle/* ${tempDir.path}
cp ${join(cwd.path, "linux", "spotube.desktop")} ${tempDir.path}
cp ${join(cwd.path, "linux", "com.github.KRTirtho.Spotube.appdata.xml")} ${tempDir.path}
cp ${join(cwd.path, "assets", "spotube-logo.png")} ${tempDir.path}

View File

@ -1271,7 +1271,7 @@ packages:
source: hosted
version: "3.1.14"
io:
dependency: transitive
dependency: "direct dev"
description:
name: io
sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e"

View File

@ -146,6 +146,7 @@ dev_dependencies:
riverpod_lint: ^2.3.10
process_run: ^0.14.2
xml: ^6.5.0
io: ^1.0.4
dependency_overrides:
uuid: ^4.4.0