From c438730f4361cb19813f39248ad721e5d4a10f01 Mon Sep 17 00:00:00 2001 From: Rachit Anand Date: Tue, 25 Aug 2026 14:53:07 -0500 Subject: [PATCH] Removed --package argument from cargo build and fixed path --- script/build-and-install-to-applications/src/index.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script/build-and-install-to-applications/src/index.tsx b/script/build-and-install-to-applications/src/index.tsx index de06abdd..14667e6f 100644 --- a/script/build-and-install-to-applications/src/index.tsx +++ b/script/build-and-install-to-applications/src/index.tsx @@ -172,6 +172,7 @@ function App() { (async () => { try { const appName = "Galaxy.app"; + const appCrateDir = path.join(WORKSPACE_ROOT, "app"); const bundleDir = path.join(WORKSPACE_ROOT, "target/debug/bundle/osx"); const appPath = path.join(bundleDir, appName); const destPath = path.join("/Applications", appName); @@ -179,9 +180,9 @@ function App() { // ─── Step 0: Build ────────────────────────────────────────────── updateStep(0, { status: "running" }); - const buildCmd = "cargo bundle --bin galaxy-oss --package galaxy"; + const buildCmd = "cargo bundle --bin galaxy-oss"; - await runCommandStreaming(buildCmd, WORKSPACE_ROOT, (line) => appendLog(0, line)); + await runCommandStreaming(buildCmd, appCrateDir, (line) => appendLog(0, line)); updateStep(0, { status: "done" }); // ─── Step 1: Copy to /Applications ─────────────────────────────