diff --git a/crates/gitbutler-tauri/tauri.conf.json b/crates/gitbutler-tauri/tauri.conf.json index 207f14050..e0b38fcaf 100644 --- a/crates/gitbutler-tauri/tauri.conf.json +++ b/crates/gitbutler-tauri/tauri.conf.json @@ -1,7 +1,7 @@ { "build": { - "beforeDevCommand": "cd ../ && pnpm dev:internal-tauri", - "beforeBuildCommand": "[ $CI = true ] || cd ../ && pnpm build:desktop -- --mode development", + "beforeDevCommand": "pnpm dev:internal-tauri", + "beforeBuildCommand": "[ $CI = true ] || pnpm build:desktop -- --mode development", "devPath": "http://localhost:1420", "distDir": "../../apps/desktop/build", "withGlobalTauri": false diff --git a/crates/package.json b/crates/package.json index f28a6905e..a36eede3f 100644 --- a/crates/package.json +++ b/crates/package.json @@ -1,4 +1,9 @@ { - "name": "crates", - "description": "Required for Vercel / pnpm-workspace CI" + "name": "@gitbutler/crates", + "description": "Required for Vercel / pnpm-workspace CI", + "scripts": { + "build:desktop": "pnpm --workspace-root build:desktop", + "dev:internal-tauri": "pnpm --workspace-root dev:internal-tauri" + }, + "packageManager": "pnpm@9.5.0" }