Skip to content

Commit

Permalink
Move studio server into studio.
Browse files Browse the repository at this point in the history
Can add another server later for serving, but for now this is the studio server
  • Loading branch information
scosman committed Aug 17, 2024
1 parent b62266d commit f5b7736
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion desktop/build_desktop_app.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fi
# Builds the desktop app
# TODO: use a spec instead of long winded command line
pyinstaller $(printf %s "$PLATFORM_OPTS") --icon="./icon.png" \
--add-data "./taskbar.png:." --add-data "../../studio/web_ui/build:./studio/web_ui/build" \
--add-data "./taskbar.png:." --add-data "../../studio/web_ui/build:./web_ui/build" \
--noconfirm --distpath=./desktop/build/dist --workpath=./desktop/build/work \
-n kiln --specpath=./desktop/build \
--paths=. ./desktop/desktop.py
Expand Down
2 changes: 1 addition & 1 deletion desktop/desktop.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import tkinter as tk
import webbrowser
import uvicorn
import server.server as server
import studio.server.server as server
import sys
import threading
import contextlib
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion server/server.py → studio/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def studio_path():
except Exception:
base_path = os.path.join(os.path.dirname(__file__), "..")

return os.path.join(base_path, "studio/web_ui/build")
return os.path.join(base_path, "web_ui/build")


app = FastAPI()
Expand Down

0 comments on commit f5b7736

Please sign in to comment.