aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/justfile b/justfile
index fe942fc..cef7016 100644
--- a/justfile
+++ b/justfile
@@ -8,6 +8,5 @@ gui:
# Build the picostream GUI executable
build-gui:
uv pip install pyinstaller pyinstaller-hooks-contrib
- FFI_FLAG := `uv run python -c 'import sys, os, glob; ffi_dll_path = next(glob.iglob(os.path.join(os.path.dirname(sys.executable), "DLLs", "libffi-*.dll")), None) if sys.platform == "win32" else None; ffi_dll_path and print(f"--add-binary \"{ffi_dll_path}{os.pathsep}.\"")'`
- uv run pyinstaller --onefile --windowed --name PicoStream {{FFI_FLAG}} picostream/main.py
+ uv run python tools/build_gui.py