diff options
| author | Im-Beast <franik.mateusz@gmail.com> | 2024-12-19 15:49:58 +0100 |
|---|---|---|
| committer | Im-Beast <franik.mateusz@gmail.com> | 2024-12-19 15:49:58 +0100 |
| commit | 449434ef5733e5a5edec941a15e3a6b8121a7d8e (patch) | |
| tree | 76ee00f837380f1f2638956faac10e7aaa0d3942 | |
| parent | da16e56b0b9365b20a5ebd26f55caffe7b392456 (diff) | |
tests: fix macos dylib path
| -rwxr-xr-x | tests/utils.ts | 3 |
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 { |
