Skip to content

Commit

Permalink
Update desktop build script to build web-ui as well
Browse files Browse the repository at this point in the history
  • Loading branch information
scosman committed Aug 6, 2024
1 parent 52269d9 commit 854170e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions desktop/build_desktop_app.sh
Original file line number Diff line number Diff line change
@@ -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" \
Expand Down

0 comments on commit 854170e

Please sign in to comment.