From 854170e61ba857c8c68953f7c6a94bc07680f560 Mon Sep 17 00:00:00 2001 From: scosman Date: Tue, 6 Aug 2024 10:42:17 -0400 Subject: [PATCH] Update desktop build script to build web-ui as well --- desktop/build_desktop_app.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/desktop/build_desktop_app.sh b/desktop/build_desktop_app.sh index 8e354125..145310ec 100755 --- a/desktop/build_desktop_app.sh +++ b/desktop/build_desktop_app.sh @@ -1,11 +1,16 @@ #!/usr/bin/env bash -# Should have installed via: pip install -U pyinstaller +# Should have installed via: pip install pyinstaller -# Needs to run from the root of the project +# move to the root of the repo cd "$(dirname "$0")" cd .. +# build the web ui +cd studio/web_ui +npm run build +cd ../.. + # Builds the desktop app # TODO: use a spec instead of long winded command line pyinstaller --windowed --onedir --icon="../icon.png" \