From 4997854577953ed5f0f228eb421d3d155b19188f Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Thu, 31 Jul 2025 18:03:58 +0400 Subject: [PATCH] fix: don't add extension on windows when copying nodecar --- nodecar/copy-binary.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodecar/copy-binary.sh b/nodecar/copy-binary.sh index 3dba05a..a0cdad4 100755 --- a/nodecar/copy-binary.sh +++ b/nodecar/copy-binary.sh @@ -22,7 +22,7 @@ if [ -z "$TARGET_TRIPLE" ]; then fi # Copy the file with target triple suffix -cp "nodecar-bin${EXT}" "../src-tauri/binaries/nodecar-${TARGET_TRIPLE}${EXT}" +cp "nodecar-bin" "../src-tauri/binaries/nodecar-${TARGET_TRIPLE}${EXT}" # Also copy a generic version for Tauri to find -cp "nodecar-bin${EXT}" "../src-tauri/binaries/nodecar${EXT}" \ No newline at end of file +cp "nodecar-bin" "../src-tauri/binaries/nodecar${EXT}" \ No newline at end of file