summaryrefslogtreecommitdiff
path: root/tests/utils.ts
diff options
context:
space:
mode:
authorIm-Beast <franik.mateusz@gmail.com>2024-12-19 15:49:58 +0100
committerIm-Beast <franik.mateusz@gmail.com>2024-12-19 15:49:58 +0100
commit449434ef5733e5a5edec941a15e3a6b8121a7d8e (patch)
tree76ee00f837380f1f2638956faac10e7aaa0d3942 /tests/utils.ts
parentda16e56b0b9365b20a5ebd26f55caffe7b392456 (diff)
tests: fix macos dylib path
Diffstat (limited to 'tests/utils.ts')
-rwxr-xr-xtests/utils.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/utils.ts b/tests/utils.ts
index 4bf100e..e2a9d32 100755
--- a/tests/utils.ts
+++ b/tests/utils.ts
@@ -24,7 +24,7 @@ export const $ = build$({
export const dylibNames: (coin: Coin) => Partial<Record<Target, string>> = (coin) => ({
linux_x86_64: `${coin}_x86_64-linux-gnu_libwallet2_api_c.so`,
- darwin_aarch64: `${coin}_aarch64-apple-darwin11_libwallet2_api_c.dylib`,
+ darwin_aarch64: `${coin}_aarch64-apple-darwin_libwallet2_api_c.dylib.xz`,
windows_x86_64: `${coin}_x86_64-w64-mingw32_libwallet2_api_c.dll`,
});
@@ -61,7 +61,6 @@ export async function extract(path: string, out: string) {
} else if (path.endsWith(".zip")) {
await $.raw`unzip ${path} -nu -d ${outDir}`;
} else if (path.endsWith(".xz")) {
- await $.raw`find ${dirname(path)}`;
await $.raw`xz -kd ${path}`;
await Deno.rename(path.slice(0, -3), out);
} else {