Feature/fix desktop 2d run (#568)

added a quick runner in 2d editor and 3d editor

---------

Co-authored-by: Michael Chung <michaelchung@michaels-mbp-2.home>
This commit is contained in:
ArEnScandMichael Chung authored and GitHub committed 2025-05-01 15:11:23 -04:00
1 parent 0788e98b54
commit 213d3f7bd2
2 files changed
+15 -1

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# Get the directory of this script
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
# Go up to the root of the repository (assumes src/app/pages is always 3 levels deep)
REPO_ROOT="$(cd "${SCRIPT_DIR}/../../.." && pwd)"
cd "${REPO_ROOT}"
echo "${REPO_ROOT}"
# Run the launch script
./script/desktop/launch_desktop_2d.sh
+1 -1
View File
@@ -9,7 +9,7 @@ import { Toaster } from "~/components/ui/Toast";
import { JobProvider } from "~/components/JobContext";
import "./global.css";
import { useRenderCounter } from "~/hooks/useRenderCounter";
import { FetchProxy as fetch } from "@storyteller/tauri-utils";
function PostHogInit() {
const apiKey = import.meta.env.VITE_POSTHOG_API_KEY;
posthog.init(apiKey, {