tauri
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { execSync } from "child_process";
|
||||
import { resolve } from "path";
|
||||
|
||||
const backendDir = resolve(import.meta.dirname, "../../backend");
|
||||
const frontendDir = resolve(import.meta.dirname, "..");
|
||||
|
||||
console.log("\n=== 1/2: Backend kompilieren ===\n");
|
||||
execSync("bun run compile:tauri", { cwd: backendDir, stdio: "inherit" });
|
||||
|
||||
console.log("\n=== 2/2: Tauri Desktop-App bauen ===\n");
|
||||
execSync("npx tauri build", { cwd: frontendDir, stdio: "inherit" });
|
||||
|
||||
console.log("\n✅ Fertig! Installer liegt in src-tauri/target/release/bundle/\n");
|
||||
Reference in New Issue
Block a user