aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src-tauri
diff options
context:
space:
mode:
author简律纯 <i@jyunko.cn>2026-01-15 10:49:56 +0800
committerGitHub <noreply@github.com>2026-01-15 10:49:56 +0800
commite9d2c467e011499678b928df4562b4c4ac2f8f1d (patch)
treef46d25e95df084e6770ce947dd39ef0df84c7fea /src-tauri
parent1c288a13e12880b4668865cd001538f90ace8bb1 (diff)
downloadDropOut-e9d2c467e011499678b928df4562b4c4ac2f8f1d.tar.gz
DropOut-e9d2c467e011499678b928df4562b4c4ac2f8f1d.zip
chore: Update commands for development and build in tauri config
Diffstat (limited to 'src-tauri')
-rw-r--r--src-tauri/tauri.conf.json6
1 files changed, 3 insertions, 3 deletions
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 9a395fa..1f2b554 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -3,8 +3,8 @@
"version": "0.1.19",
"identifier": "com.dropout.launcher",
"build": {
- "beforeDevCommand": "cd ../ui && pnpm dev",
- "beforeBuildCommand": "cd ../ui && pnpm build",
+ "beforeDevCommand": "pnpm -C ../ui dev",
+ "beforeBuildCommand": "pnpm -C ../ui build",
"devUrl": "http://localhost:5173",
"frontendDist": "../ui/dist"
},
@@ -40,4 +40,4 @@
}
}
}
-} \ No newline at end of file
+}