ok
This commit is contained in:
@@ -216,6 +216,14 @@ def live_gui() -> Generator[tuple[subprocess.Popen, str], None, None]:
|
||||
if layout_file.exists():
|
||||
shutil.copy2(layout_file, temp_workspace / layout_file.name)
|
||||
|
||||
# Link assets for fonts
|
||||
src_assets = project_root / "assets"
|
||||
if src_assets.exists():
|
||||
if os.name == 'nt':
|
||||
subprocess.run(["cmd", "/c", "mklink", "/D", str(temp_workspace / "assets"), str(src_assets)], check=False)
|
||||
else:
|
||||
os.symlink(src_assets, temp_workspace / "assets")
|
||||
|
||||
# Check if already running (shouldn't be)
|
||||
try:
|
||||
resp = requests.get("http://127.0.0.1:8999/status", timeout=0.5)
|
||||
|
||||
Reference in New Issue
Block a user