From 5292a1de4edfff2754ff22de990a56c67c9c8eee Mon Sep 17 00:00:00 2001 From: Subhamoy Biswas Date: Tue, 17 Dec 2024 22:39:16 +0530 Subject: [PATCH] (ci/cd): fixed copy script filename typo --- copyMacFiles.aarch64.js => copyFiles.aarch64-apple-darwin.js | 0 copyMacFiles.x86_64.js => copyFiles.x86_64-apple-darwin.js | 0 src-tauri/tauri.macos.conf.json | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) rename copyMacFiles.aarch64.js => copyFiles.aarch64-apple-darwin.js (100%) rename copyMacFiles.x86_64.js => copyFiles.x86_64-apple-darwin.js (100%) diff --git a/copyMacFiles.aarch64.js b/copyFiles.aarch64-apple-darwin.js similarity index 100% rename from copyMacFiles.aarch64.js rename to copyFiles.aarch64-apple-darwin.js diff --git a/copyMacFiles.x86_64.js b/copyFiles.x86_64-apple-darwin.js similarity index 100% rename from copyMacFiles.x86_64.js rename to copyFiles.x86_64-apple-darwin.js diff --git a/src-tauri/tauri.macos.conf.json b/src-tauri/tauri.macos.conf.json index 80a25b8..a4526d6 100644 --- a/src-tauri/tauri.macos.conf.json +++ b/src-tauri/tauri.macos.conf.json @@ -1,7 +1,7 @@ { "build": { "beforeDevCommand": "[[ -n \"$TARGET_ARCH\" ]] && ARCH=\"$TARGET_ARCH\" || ARCH=\"$(uname -m | sed 's/^arm64$/aarch64/')-apple-darwin\" && cargo build --target=$ARCH --manifest-path=./src-tauri/msghost/Cargo.toml && cargo build --target=$ARCH --manifest-path=./src-tauri/autostart/Cargo.toml && npm run dev", - "beforeBuildCommand": "[[ -n \"$TARGET_ARCH\" ]] && ARCH=\"$TARGET_ARCH\" || ARCH=\"$(uname -m | sed 's/^arm64$/aarch64/')-apple-darwin\" && cargo build --release --target=$ARCH --manifest-path=./src-tauri/msghost/Cargo.toml && cargo build --release --target=$ARCH --manifest-path=./src-tauri/autostart/Cargo.toml && node copyMacFiles.${ARCH}.js && npm run build", + "beforeBuildCommand": "[[ -n \"$TARGET_ARCH\" ]] && ARCH=\"$TARGET_ARCH\" || ARCH=\"$(uname -m | sed 's/^arm64$/aarch64/')-apple-darwin\" && cargo build --release --target=$ARCH --manifest-path=./src-tauri/msghost/Cargo.toml && cargo build --release --target=$ARCH --manifest-path=./src-tauri/autostart/Cargo.toml && node copyFiles.${ARCH}.js && npm run build", "devPath": "http://localhost:1422", "distDir": "../dist" },