mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-03 17:08:13 +00:00
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:
1 parent
0788e98b54
commit
213d3f7bd2
2 files changed
+15
-1
No files matched your search
Executable
+14
@@ -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
|
||||
@@ -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, {
|
||||
|
||||
Reference in new issue
Block a user